projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4af855
)
The i128 suffix isn't always available.
author
David Majnemer
<david.majnemer@gmail.com>
Sat, 21 Jun 2014 22:49:50 +0000
(22:49 +0000)
committer
David Majnemer
<david.majnemer@gmail.com>
Sat, 21 Jun 2014 22:49:50 +0000
(22:49 +0000)
This Lexer test unconditionally used the i128 integer literal suffix.
This suffix is only available to targets that have 128-bit arithmetic
support.
llvm-svn: 211446
clang/test/Lexer/ms-extensions.c
patch
|
blob
|
history
diff --git
a/clang/test/Lexer/ms-extensions.c
b/clang/test/Lexer/ms-extensions.c
index
4d006e4
..
183d48f
100644
(file)
--- a/
clang/test/Lexer/ms-extensions.c
+++ b/
clang/test/Lexer/ms-extensions.c
@@
-6,7
+6,9
@@
__int16 x2 = 4i16;
__int32 x3 = 5i32;
__int64 x5 = 0x42i64;
__int64 x6 = 0x42I64;
+#ifdef __SIZEOF_INT128__
__int64 x4 = 70000000i128;
+#endif
__int64 y = 0x42i64u; // expected-error {{invalid suffix}}
__int64 w = 0x43ui64;