Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
      2 // END.
      3 # 1 "t.c"
      4 # 1 "<built-in>"
      5 # 1 "<command-line>"
      6 # 1 "t.c"
      7 int __attribute((annotate("foo"))) foo(void) { return 0; }
      8 
      9 // CHECK: private unnamed_addr constant [4 x i8] c"t.c\00"
     10 // CHECK: @llvm.global.annotations = {{.*}}, i32 1 }
     11