summaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2008-11-11-AnnotateStructFieldAttribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC/2008-11-11-AnnotateStructFieldAttribute.c')
-rw-r--r--test/FrontendC/2008-11-11-AnnotateStructFieldAttribute.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/FrontendC/2008-11-11-AnnotateStructFieldAttribute.c b/test/FrontendC/2008-11-11-AnnotateStructFieldAttribute.c
deleted file mode 100644
index 8af59d5..0000000
--- a/test/FrontendC/2008-11-11-AnnotateStructFieldAttribute.c
+++ /dev/null
@@ -1,18 +0,0 @@
-// RUN: %llvmgcc -S %s -o - | grep llvm.ptr.annotation | count 3
-
-#include <stdio.h>
-
-/* Struct with element X being annotated */
-struct foo {
- int X __attribute__((annotate("StructAnnotation")));
- int Y;
- int Z;
-};
-
-
-void test(struct foo *F) {
- F->X = 42;
- F->Z = 1;
- F->Y = F->X;
-}
-
OpenPOWER on IntegriCloud