From: David Majnemer Date: Sat, 21 Jun 2014 22:49:50 +0000 (+0000) Subject: The i128 suffix isn't always available. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3475d0cd3aef473c9b8f6b0cc3662944c4cdd4aa;p=clang The i128 suffix isn't always available. This Lexer test unconditionally used the i128 integer literal suffix. This suffix is only available to targets that have 128-bit arithmetic support. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211446 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Lexer/ms-extensions.c b/test/Lexer/ms-extensions.c index 4d006e4b92..183d48fde9 100644 --- a/test/Lexer/ms-extensions.c +++ b/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;