mirror of
https://github.com/opnsense/src.git
synced 2026-02-23 18:00:31 -05:00
10 lines
328 B
C
10 lines
328 B
C
// 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: private unnamed_addr global
|
|
// CHECK: private unnamed_addr global
|
|
// CHECK: @llvm.global.annotations = appending global [2 x { i8*, i8*, i8*, i32 }]
|