llvm-mirror/test/FrontendC++/2003-09-30-CommaExprBug.cpp

11 lines
124 B
C++
Raw Normal View History

2004-11-06 22:29:57 +00:00
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
class Empty {};
void foo(Empty E);
void bar() {
foo(Empty());
}