mirror of
https://github.com/opnsense/src.git
synced 2026-02-28 04:10:49 -05:00
17 lines
212 B
C++
17 lines
212 B
C++
// RUN: clang-cc -fsyntax-only %s
|
|
|
|
struct X { };
|
|
|
|
struct Y { };
|
|
|
|
void f() throw() { }
|
|
|
|
void g(int) throw(X) { }
|
|
|
|
void h() throw(X, Y) { }
|
|
|
|
class Class {
|
|
void foo() throw (X, Y) { }
|
|
};
|
|
|
|
void (*fptr)() throw();
|