Eli Friedman | 8b7124a | 2010-01-03 00:51:58 +0000 | [diff] [blame] | 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: @llvm.global.annotations = appending global [2 x %0] |