xref: /aosp_15_r20/external/clang/test/CodeGen/nousejumptable.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -S -fno-jump-tables %s -emit-llvm -o - | FileCheck %s
2 
3 // CHECK-LABEL: main
4 // CHECK: attributes #0 = {{.*}}"no-jump-tables"="true"{{.*}}
5 
main()6 int main() {
7   return 0;
8 }
9