[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / 2008-09-22-bad-switch-type.c
blob853e6bd174b62d7042abf2e4e26c83971a4fc38e
1 // RUN: %clang_cc1 -emit-llvm -o %t %s
2 // PR2817
4 void f0(void) {
5 switch (0) {
6 case (unsigned long long) 0 < 0:
7 break;
10 switch (0) {
11 case (unsigned long long) 0 > 0:
12 break;
15 switch (0) {
16 case (unsigned long long) 0 <= 0:
17 break;
20 switch (0) {
21 case (unsigned long long) 0 >= 0:
22 break;
25 switch (0) {
26 case (unsigned long long) 0 == 0:
27 break;
30 switch (0) {
31 case (unsigned long long) 0 != 0:
32 break;