Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-apple-darwin9 %s |
Eli Friedman | f98aba3 | 2009-02-13 02:31:07 +0000 | [diff] [blame] | 2 | typedef int i128 __attribute__((__mode__(TI))); |
3 | typedef unsigned u128 __attribute__((__mode__(TI))); | ||||
4 | |||||
5 | int a[((i128)-1 ^ (i128)-2) == 1 ? 1 : -1]; | ||||
6 | int a[(u128)-1 > 1LL ? 1 : -1]; | ||||
Anders Carlsson | 1c03ca3 | 2009-11-09 17:34:18 +0000 | [diff] [blame] | 7 | |
8 | // PR5435 | ||||
9 | __uint128_t b = (__uint128_t)-1; |