blob: b97238d05daeea4b70962b787d99b901768cbe56 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -fsyntax-only -verify %s
Eli Friedmanf98aba32009-02-13 02:31:07 +00002typedef int i128 __attribute__((__mode__(TI)));
3typedef unsigned u128 __attribute__((__mode__(TI)));
4
5int a[((i128)-1 ^ (i128)-2) == 1 ? 1 : -1];
6int a[(u128)-1 > 1LL ? 1 : -1];
Anders Carlsson1c03ca32009-11-09 17:34:18 +00007
8// PR5435
9__uint128_t b = (__uint128_t)-1;