From: Jason Merrill Date: Mon, 26 Feb 2018 17:06:02 +0000 (-0500) Subject: PR c++/81589 - error with is_trivially_constructible X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f18f8ade38e5a71e7bdafa46f0972b45e835ea9e;p=gcc.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 00000000000..10a8dfbb8f0 --- /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);