Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
6461716b508d9e086641dac727a6e918b833f583
/
.
/
test
/
FrontendC++
/
2003-08-21-EmptyClass.cpp
blob: 2f90b3a1053155be5f550226b0610131f73676a3 [
file
] [
log
] [
blame
]
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
// This tests compilation of EMPTY_CLASS_EXPR's
struct
empty
{};
void
foo
(
empty
)
{}
void
bar
()
{
foo
(
empty
());
}