summaryrefslogtreecommitdiff
path: root/test/Lexer/hexfloat.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-12-14 00:46:53 +0000
committerHans Wennborg <hans@hanshq.net>2013-12-14 00:46:53 +0000
commit52baba31bac18dc455fa60f75aef0ca6a7dd353a (patch)
treefe97d8d9407299389d80aaf09d909d27d498fdbe /test/Lexer/hexfloat.cpp
parentb7d369845fe03e330bafc9d7ae8c5f173e71a31b (diff)
downloadclang-52baba31bac18dc455fa60f75aef0ca6a7dd353a.tar.gz
clang-52baba31bac18dc455fa60f75aef0ca6a7dd353a.tar.bz2
clang-52baba31bac18dc455fa60f75aef0ca6a7dd353a.tar.xz
Don't require -re suffix on -verify directives with regexes.
Differential Revision: http://llvm-reviews.chandlerc.com/D2392 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer/hexfloat.cpp')
-rw-r--r--test/Lexer/hexfloat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Lexer/hexfloat.cpp b/test/Lexer/hexfloat.cpp
index bd53d4a89e..0244b28597 100644
--- a/test/Lexer/hexfloat.cpp
+++ b/test/Lexer/hexfloat.cpp
@@ -12,4 +12,4 @@ double h = 0x1.p2; // expected-warning{{hexadecimal floating constants are a C99
double i = 0p+3; // expected-error{{invalid suffix 'p' on integer constant}}
#define PREFIX(x) foo ## x
double foo0p = 1, j = PREFIX(0p+3); // ok
-double k = 0x42_amp+3; // expected-error-re{{{{invalid suffix '_amp' on integer constant|no matching literal operator for call to 'operator "" _amp'}}}}
+double k = 0x42_amp+3; // expected-error{{{{invalid suffix '_amp' on integer constant|no matching literal operator for call to 'operator "" _amp'}}}}