]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/default-function-attr.c
Vendor import of clang trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / test / CodeGen / default-function-attr.c
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"