1 | // RUN: %clang_cc1 -triple x86_64-unknown-linux -default-function-attr foo=bar -emit-llvm %s -o - | FileCheck %s |
---|---|
2 | |
3 | // CHECK: define void @foo() #[[X:[0-9]+]] |
4 | void foo() {} |
5 | |
6 | // CHECK: attributes #[[X]] = {{.*}} "foo"="bar" |
7 |
1 | // RUN: %clang_cc1 -triple x86_64-unknown-linux -default-function-attr foo=bar -emit-llvm %s -o - | FileCheck %s |
---|---|
2 | |
3 | // CHECK: define void @foo() #[[X:[0-9]+]] |
4 | void foo() {} |
5 | |
6 | // CHECK: attributes #[[X]] = {{.*}} "foo"="bar" |
7 |