summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/annotations-builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/annotations-builtin.c')
-rw-r--r--clang/test/CodeGen/annotations-builtin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGen/annotations-builtin.c b/clang/test/CodeGen/annotations-builtin.c
index 8a3b3ffcec2..e6dd3587af7 100644
--- a/clang/test/CodeGen/annotations-builtin.c
+++ b/clang/test/CodeGen/annotations-builtin.c
@@ -43,4 +43,7 @@ int main(int argc, char **argv) {
// CHECK: call i32 @llvm.annotation.i32
// CHECK: inttoptr {{.*}} to i8**
return 0;
+
+ int after_return = __builtin_annotation(argc, "annotation_a");
+// CHECK-NOT: call i32 @llvm.annotation.i32
}
OpenPOWER on IntegriCloud