2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s
|
2009-11-28 21:37:52 +08:00
|
|
|
|
|
|
|
__int8 x1 = 3i8;
|
|
|
|
__int16 x2 = 4i16;
|
|
|
|
__int32 x3 = 5i32;
|
|
|
|
__int64 x5 = 0x42i64;
|
|
|
|
__int64 x4 = 70000000i128;
|
|
|
|
|
|
|
|
__int64 y = 0x42i64u; // expected-error {{invalid suffix}}
|
|
|
|
__int64 w = 0x43ui64; // expected-error {{invalid suffix}}
|
|
|
|
__int64 z = 9Li64; // expected-error {{invalid suffix}}
|
|
|
|
__int64 q = 10lli64; // expected-error {{invalid suffix}}
|