Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f94e215e4a67e5439d56a67bbe470c7860d4b9a6
/
.
/
test
/
Parser
/
cxx-exception-spec.cpp
blob: 47e9ffb50b314b8d8900bf678c399229defa9dda [
file
] [
log
] [
blame
]
// RUN: clang -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
)
{
}
};