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