xref: /llvm-project/clang/test/CodeGen/attr-nouwtable.c (revision c5de4dd1eab00df76c1a68c5f397304ceacb71f2)
1 // RUN: %clang_cc1 -funwind-tables=2 -emit-llvm %s -o - | FileCheck %s
2 
3 __attribute__((nouwtable))
test1(void)4 int test1(void) { return 0; }
5 
6 // CHECK: @test1{{.*}}[[ATTR1:#[0-9]+]]
7 // CHECK: attributes [[ATTR1]] = {
8 // CHECK-NOT: uwtable
9 // CHECK: }
10