mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-03 22:06:06 +00:00
7 lines
221 B
C
7 lines
221 B
C
// RUN: %clang_cc1 -triple x86_64-unknown-linux -default-function-attr foo=bar -emit-llvm %s -o - | FileCheck %s
|
|
|
|
// CHECK: define void @foo() #[[X:[0-9]+]]
|
|
void foo() {}
|
|
|
|
// CHECK: attributes #[[X]] = {{.*}} "foo"="bar"
|