aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/attr-nouwtable.c
blob: faf0b83f9ad67ca464d0923f2c3806a4b941696f (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -funwind-tables=2 -emit-llvm %s -o - | FileCheck %s

__attribute__((nouwtable))
int test1(void) { return 0; }

// CHECK: @test1{{.*}}[[ATTR1:#[0-9]+]]
// CHECK: attributes [[ATTR1]] = {
// CHECK-NOT: uwtable
// CHECK: }