summaryrefslogtreecommitdiffstats
path: root/libgomp/testsuite/libgomp.c++/udr-19.C
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-25 09:30:10 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-25 09:30:10 +0000
commitde48ad323bb0c177ddc436a31cc8bd3cf6e7b37f (patch)
tree95d6d543658e14b87d9a9992c639185f613e010f /libgomp/testsuite/libgomp.c++/udr-19.C
parent9ec2726163c3e2b765a8aadc362bae5f3fd78e83 (diff)
downloadppe42-gcc-de48ad323bb0c177ddc436a31cc8bd3cf6e7b37f.tar.gz
ppe42-gcc-de48ad323bb0c177ddc436a31cc8bd3cf6e7b37f.zip
PR c++/60331
* semantics.c (potential_constant_expression_1): Handle DECL_EXPR. * testsuite/libgomp.c++/udr-11.C: New test. * testsuite/libgomp.c++/udr-12.C: New test. * testsuite/libgomp.c++/udr-13.C: New test. * testsuite/libgomp.c++/udr-14.C: New test. * testsuite/libgomp.c++/udr-15.C: New test. * testsuite/libgomp.c++/udr-16.C: New test. * testsuite/libgomp.c++/udr-17.C: New test. * testsuite/libgomp.c++/udr-18.C: New test. * testsuite/libgomp.c++/udr-19.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208806 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/testsuite/libgomp.c++/udr-19.C')
-rw-r--r--libgomp/testsuite/libgomp.c++/udr-19.C4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.c++/udr-19.C b/libgomp/testsuite/libgomp.c++/udr-19.C
new file mode 100644
index 00000000000..801cab4342e
--- /dev/null
+++ b/libgomp/testsuite/libgomp.c++/udr-19.C
@@ -0,0 +1,4 @@
+// { dg-do run }
+// { dg-options "-fopenmp -std=c++11" }
+
+#include "udr-9.C"
OpenPOWER on IntegriCloud