From: Jason Merrill Date: Mon, 26 Feb 2018 17:06:02 +0000 (-0500) Subject: PR c++/81589 - error with is_trivially_constructible X-Git-Tag: basepoints/gcc-9~988 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f18f8ade38e5a71e7bdafa46f0972b45e835ea9e;p=thirdparty%2Fgcc.git PR c++/81589 - error with is_trivially_constructible * g++.dg/ext/is_trivially_constructible6.C: New. From-SVN: r258002 --- diff --git a/gcc/testsuite/g++.dg/ext/is_trivially_constructible6.C b/gcc/testsuite/g++.dg/ext/is_trivially_constructible6.C new file mode 100644 index 000000000000..10a8dfbb8f0b --- /dev/null +++ b/gcc/testsuite/g++.dg/ext/is_trivially_constructible6.C @@ -0,0 +1,10 @@ +// PR c++/81589 + +template +struct z { + z() { + k::error; + } +}; + +int x = __is_trivially_constructible(z);