From f18f8ade38e5a71e7bdafa46f0972b45e835ea9e Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 26 Feb 2018 12:06:02 -0500 Subject: [PATCH] PR c++/81589 - error with is_trivially_constructible * g++.dg/ext/is_trivially_constructible6.C: New. From-SVN: r258002 --- 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.30.2