Shih-wei Liao | f8fd82b | 2010-02-10 11:10:31 -0800 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -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 | }; | ||||
16 | |||||
17 | void (*fptr)() throw(); |