commit | 1c03ca30ae962199ef702324b48550f6af7fdc32 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Mon Nov 09 17:34:18 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Mon Nov 09 17:34:18 2009 +0000 |
tree | b90e71b869d45fb45557aa175a435a3f8c0704b9 | |
parent | e48319a8a901bc915d48d02b99c62e5f2589dbd9 [diff] [blame] |
__uint128_t is indeed an unsigned integer type. Fixes PR5435. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86561 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/128bitint.c b/test/Sema/128bitint.c index 2a18d90..b97238d 100644 --- a/test/Sema/128bitint.c +++ b/test/Sema/128bitint.c
@@ -4,3 +4,6 @@ int a[((i128)-1 ^ (i128)-2) == 1 ? 1 : -1]; int a[(u128)-1 > 1LL ? 1 : -1]; + +// PR5435 +__uint128_t b = (__uint128_t)-1;