Douglas Gregor | 0fe7bea | 2008-11-25 03:22:00 +0000 | [diff] [blame] | 1 | // RUN: clang -fsyntax-only %s |
2 | |||||
3 | struct X { }; | ||||
4 | |||||
5 | struct Y { }; | ||||
6 | |||||
7 | void f() throw() { } | ||||
8 | |||||
9 | void g(int) throw(X) { } | ||||
10 | |||||
11 | void h() throw(X, Y) { } | ||||
12 | |||||
13 | class Class { | ||||
14 | void foo() throw (X, Y) { } | ||||
15 | }; |