blob: fe83d97ca4fc56275c7ff8b75a43103d5f13da8c [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-apple-darwin9 %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;