aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/tm/wrap-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/tm/wrap-2.c')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/tm/wrap-2.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/tm/wrap-2.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/tm/wrap-2.c
deleted file mode 100644
index 29486335a..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/tm/wrap-2.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-fgnu-tm" } */
-
-#define W(X) __attribute__((transaction_wrap(X)))
-void f1(void);
-void f2(int);
-int i3;
-int f7(void);
-
-void g1(void) W(f1);
-void g2(void) W(f2); /* { dg-error "is not compatible" } */
-void g3(void) W(i3); /* { dg-error "is not a function" } */
-void g4(void) W(f4); /* { dg-error "is not a function" } */
-void g5(void) W(1); /* { dg-error "not an identifier" } */
-void g6(void) W("f1"); /* { dg-error "not an identifier" } */
-void g7(void) W(f7); /* { dg-error "is not compatible" } */