StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git] / test / CodeGen / annotate.c
blobffaeebbca515a055bebf89be95f53dfb81e73491
1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
3 __attribute((annotate("foo"))) char foo;
4 void a(char *a) {
5 __attribute__((annotate("bar"))) static char bar;
8 // CHECK: private unnamed_addr global
9 // CHECK: private unnamed_addr global
10 // CHECK: @llvm.global.annotations = appending global [2 x %0]