diff mbox

[committed] Add PR c++/71988 testcase

Message ID 20161115152313.GJ3541@tucnak.redhat.com
State New
Headers show

Commit Message

Jakub Jelinek Nov. 15, 2016, 3:23 p.m. UTC
Hi!

I've fixed this PR already in r240198 as part of the PR77482
fix, thus I've just added the testcase for it.  Tested on x86_64-linux,
committed to trunk as obvious.

2016-11-15  Jakub Jelinek  <jakub@redhat.com>

	PR c++/71988
	* g++.dg/cpp0x/constexpr-71988.C: New test.


	Jakub
diff mbox

Patch

--- gcc/testsuite/g++.dg/cpp0x/constexpr-71988.C.jj	2016-11-15 16:15:45.002454953 +0100
+++ gcc/testsuite/g++.dg/cpp0x/constexpr-71988.C	2016-11-15 16:16:22.799977409 +0100
@@ -0,0 +1,6 @@ 
+// PR c++/71988
+// { dg-do compile { target c++11 } }
+// { dg-options "-fdump-ipa-cgraph" }
+
+struct A {};
+constexpr A a;