Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
      2 
      3 __attribute((annotate("foo"))) char foo;
      4 void a(char *a) {
      5   __attribute__((annotate("bar"))) static char bar;
      6 }
      7 
      8 // CHECK: private unnamed_addr global
      9 // CHECK: private unnamed_addr global
     10 // CHECK: @llvm.global.annotations = appending global [2 x { i8*, i8*, i8*, i32 }]
     11