diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f5d92b6704c..56871ba51f9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-03-26 Paolo Carlini + + PR c++/84598 + * g++.dg/ext/pr84598.C: New. + 2019-03-26 Jakub Jelinek 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 index 00000000000..05016b82b8c --- /dev/null +++ b/gcc/testsuite/g++.dg/ext/pr84598.C @@ -0,0 +1,3 @@ +// { dg-options "-fpermissive -w" } + +template __attribute__ a([] { class c, __attribute__(vector_size(operator+()))) d; // { dg-error "expected" }