re PR c++/84598 (internal compiler error: Segmentation fault (cp_default_conversion()))
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 26 Mar 2019 10:16:13 +0000 (10:16 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 26 Mar 2019 10:16:13 +0000 (10:16 +0000)
2019-03-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84598
* g++.dg/ext/pr84598.C: New.

From-SVN: r269936

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/pr84598.C [new file with mode: 0644]

index f5d92b6704c97a650efe10b2b196b852aba8abf6..56871ba51f93164d94894dace8bc4c552c8d06a2 100644 (file)
@@ -1,3 +1,8 @@
+2019-03-26  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/84598
+       * g++.dg/ext/pr84598.C: New.
+
 2019-03-26  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/89796
diff --git a/gcc/testsuite/g++.dg/ext/pr84598.C b/gcc/testsuite/g++.dg/ext/pr84598.C
new file mode 100644 (file)
index 0000000..05016b8
--- /dev/null
@@ -0,0 +1,3 @@
+// { dg-options "-fpermissive -w" }
+
+template<int b> __attribute__ a([] { class c, __attribute__(vector_size(operator+()))) d;  // { dg-error "expected" }