From 5afa077fc6b74bee35761bbc4db191efe67959ec Mon Sep 17 00:00:00 2001 From: jason Date: Mon, 26 Feb 2018 17:06:02 +0000 Subject: [PATCH] PR c++/81589 - error with is_trivially_constructible * g++.dg/ext/is_trivially_constructible6.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258002 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/g++.dg/ext/is_trivially_constructible6.C | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 gcc/testsuite/g++.dg/ext/is_trivially_constructible6.C 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); -- 2.11.4.GIT