summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.test-framework/dg-warning-nocache-exp-P.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.test-framework/dg-warning-nocache-exp-P.c')
-rw-r--r--gcc/testsuite/gcc.test-framework/dg-warning-nocache-exp-P.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.test-framework/dg-warning-nocache-exp-P.c b/gcc/testsuite/gcc.test-framework/dg-warning-nocache-exp-P.c
new file mode 100644
index 000000000..9e0ee2798
--- /dev/null
+++ b/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 } } */