freebsd-dev/test/CodeGen/annotate.c

9 lines
232 B
C
Raw Normal View History

2010-01-15 15:39:40 +00:00
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
__attribute((annotate("foo"))) char foo;
void a(char *a) {
__attribute__((annotate("bar"))) static char bar;
}
// CHECK: @llvm.global.annotations = appending global [2 x %0]