diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-02-05 18:39:15 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-02-05 18:39:15 +0000 |
| commit | d87c9e7da2e87f224c426832f08897269c2e5636 (patch) | |
| tree | 9492632723d36c1c80f3daca3974f362eea84a7a /test/Lexer/half-literal.cpp | |
| parent | 292698a8537d1e51bbcd339f8a19b2b7d7f1e1f6 (diff) | |
Vendor import of clang release_80 branch r353167:vendor/clang/clang-release_80-r353167
Notes
svn path=/vendor/clang/dist-release_80/; revision=343796
svn path=/vendor/clang/clang-release_80-r353167/; revision=343797; tag=vendor/clang/clang-release_80-r353167
Diffstat (limited to 'test/Lexer/half-literal.cpp')
| -rw-r--r-- | test/Lexer/half-literal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Lexer/half-literal.cpp b/test/Lexer/half-literal.cpp index 8e0034d491dd..2f1cf9589fab 100644 --- a/test/Lexer/half-literal.cpp +++ b/test/Lexer/half-literal.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s +// RUN: %clang_cc1 -fsyntax-only -verify -pedantic -triple aarch64-linux-gnu %s float a = 1.0h; // expected-error{{no matching literal operator for call to 'operator""h' with argument of type 'long double' or 'const char *', and no matching literal operator template}} float b = 1.0H; // expected-error{{invalid suffix 'H' on floating constant}} |
