Sign in
llvm
/
llvm
/
refs/heads/release_28
/
.
/
test
/
FrontendC++
/
2003-08-21-EmptyClass.cpp
blob: 5dbfa33e03c3c81a410c3fbd12520e5d8038c482 [
file
] [
log
] [
blame
]
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
// This tests compilation of EMPTY_CLASS_EXPR's
struct
empty
{};
void
foo
(
empty
)
{}
void
bar
()
{
foo
(
empty
());
}