llvm-project/clang/test/CodeGen/nousejumptable.c

9 lines
185 B
C
Raw Normal View History

// RUN: %clang_cc1 -S -fno-jump-tables %s -emit-llvm -o - | FileCheck %s
// CHECK-LABEL: main
// CHECK: attributes #0 = {{.*}}"no-jump-tables"="true"{{.*}}
int main() {
return 0;
}