summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/half-literal.cpp
diff options
context:
space:
mode:
authorSjoerd Meijer <sjoerd.meijer@arm.com>2017-09-08 10:20:52 +0000
committerSjoerd Meijer <sjoerd.meijer@arm.com>2017-09-08 10:20:52 +0000
commit9aeedde7ffd971f533360ab02e3c8ac58fba7209 (patch)
tree3fe7ce50686fe583ff4e2a9137c4bb48579631e9 /clang/test/Lexer/half-literal.cpp
parentd7b0f74c648204a224295708d253637bf3687075 (diff)
downloadbcm5719-llvm-9aeedde7ffd971f533360ab02e3c8ac58fba7209.tar.gz
bcm5719-llvm-9aeedde7ffd971f533360ab02e3c8ac58fba7209.zip
Revert "Add _Float16 as a C/C++ source language type"
The clang-with-lto-ubuntu bot didn't like the new regression test, revert while I investigate the issue. llvm-svn: 312784
Diffstat (limited to 'clang/test/Lexer/half-literal.cpp')
-rw-r--r--clang/test/Lexer/half-literal.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/test/Lexer/half-literal.cpp b/clang/test/Lexer/half-literal.cpp
index b87eae4a152..32af3faef9a 100644
--- a/clang/test/Lexer/half-literal.cpp
+++ b/clang/test/Lexer/half-literal.cpp
@@ -1,6 +1,3 @@
// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
float a = 1.0h; // expected-error{{invalid suffix 'h' on floating constant}}
float b = 1.0H; // expected-error{{invalid suffix 'H' on floating constant}}
-
-_Float16 c = 1.f166; // expected-error{{invalid suffix 'f166' on floating constant}}
-_Float16 d = 1.f1; // expected-error{{invalid suffix 'f1' on floating constant}}
OpenPOWER on IntegriCloud