☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
default-function-attr.c
☽
☼
clang/test/CodeGen/default-function-attr.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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(void) {}
5
6
// CHECK: attributes #[[X]] = {{.*}} "foo"="bar"