diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp1z/noexcept-type11.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1z/noexcept-type11.C | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/cpp1z/noexcept-type11.C b/gcc/testsuite/g++.dg/cpp1z/noexcept-type11.C new file mode 100644 index 00000000000..bcd4d8d613d --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp1z/noexcept-type11.C @@ -0,0 +1,3 @@ +// { dg-options "-Wall -std=c++14" } + +void f(int(*)() noexcept) { } // { dg-warning "mangled" } |