__uint128_t is only available on 64 bit platforms, only test it when it's around.

llvm-svn: 183146
This commit is contained in:
Benjamin Kramer 2013-06-03 19:37:18 +00:00
parent 35579dde40
commit 8a8557e629
1 changed files with 2 additions and 0 deletions

View File

@ -33,8 +33,10 @@ TEST(Decl, CleansUpAPValues) {
"union Y { constexpr Y(int a) : a(a) {} int a; }; constexpr Y y = { 42 };"
"constexpr int z[2] = { 42, 43 };"
"constexpr int __attribute__((vector_size(16))) v1 = {};"
"\n#ifdef __SIZEOF_INT128__\n"
"constexpr __uint128_t large_int = 0xffffffffffffffff;"
"constexpr __uint128_t small_int = 1;"
"\n#endif\n"
"constexpr double d1 = 42.42;"
"constexpr long double d2 = 42.42;"
"constexpr _Complex long double c1 = 42.0i;"