Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
e7bb777caf478ac8b096bd6a0c14d78ea8b2f5be
/
.
/
test
/
Parser
/
cxx-exception-spec.cpp
blob: e6c3c757f012e882c77c6e834a6c15227147ef23 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -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
();