From 3c593c947c55984815838c6ad7dce3b66cced4a3 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Tue, 12 Feb 2008 07:46:33 +0000 Subject: [PATCH] Test case for annotate builtin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46999 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2008-02-11-AnnotateBuiltin.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CFrontend/2008-02-11-AnnotateBuiltin.c diff --git a/test/CFrontend/2008-02-11-AnnotateBuiltin.c b/test/CFrontend/2008-02-11-AnnotateBuiltin.c new file mode 100644 index 00000000000..32bc7a82745 --- /dev/null +++ b/test/CFrontend/2008-02-11-AnnotateBuiltin.c @@ -0,0 +1,7 @@ +// RUN: %llvmgcc %s -S -o - | llvm-as | llvm-dis | grep llvm.annotation + +int main() { + int x = 0; + return __builtin_annotation(x, "annotate"); +} + -- 2.34.1