* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / gen-attrs-6.C
blob54071d5ed1491602047423e181d017591b0b8c2c
1 // Copyright (C) 2002  Free Software Foundation.
2 //
3 // Test that the nothrow attribute is working correctly.
4 //
5 // Written by Richard Henderson, 26 May 2002.
7 // { dg-do link { target c++11} }
8 extern void foo [[gnu::nothrow]] ();
9 extern void link_error();
11 int main()
13   try {
14     foo();
15   } catch (...) {
16     link_error();
17   }
20 void foo() { }