aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.test-framework/dg-warning-nocache-exp-P.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.test-framework/dg-warning-nocache-exp-P.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.test-framework/dg-warning-nocache-exp-P.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.test-framework/dg-warning-nocache-exp-P.c b/gcc-4.9/gcc/testsuite/gcc.test-framework/dg-warning-nocache-exp-P.c
new file mode 100644
index 000000000..9e0ee2798
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.test-framework/dg-warning-nocache-exp-P.c
@@ -0,0 +1,6 @@
+/* { dg-options "-Wall -DDEFINED" } */
+
+int
+foo ()
+{
+} /* { dg-warning "control" "" { target def_nocache } } */