clang-1/test/CodeGen/2008-09-22-bad-switch-type.c

35 строки
473 B
C

// RUN: %clang_cc1 -emit-llvm -o %t %s
// PR2817
void f0(void) {
switch (0) {
case (unsigned long long) 0 < 0:
break;
}
switch (0) {
case (unsigned long long) 0 > 0:
break;
}
switch (0) {
case (unsigned long long) 0 <= 0:
break;
}
switch (0) {
case (unsigned long long) 0 >= 0:
break;
}
switch (0) {
case (unsigned long long) 0 == 0:
break;
}
switch (0) {
case (unsigned long long) 0 != 0:
break;
}
}