xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/annotations-loc.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2*f4a2713aSLionel Sambuc // END.
3*f4a2713aSLionel Sambuc # 1 "t.c"
4*f4a2713aSLionel Sambuc # 1 "<built-in>"
5*f4a2713aSLionel Sambuc # 1 "<command-line>"
6*f4a2713aSLionel Sambuc # 1 "t.c"
foo(void)7*f4a2713aSLionel Sambuc int __attribute((annotate("foo"))) foo(void) { return 0; }
8*f4a2713aSLionel Sambuc 
9*f4a2713aSLionel Sambuc // CHECK: private unnamed_addr constant [4 x i8] c"t.c\00"
10*f4a2713aSLionel Sambuc // CHECK: @llvm.global.annotations = {{.*}}, i32 1 }
11