2009-08-25 23:38:29 +08:00
|
|
|
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
|
2004-11-07 06:29:57 +08:00
|
|
|
|
2003-08-22 12:31:24 +08:00
|
|
|
// This tests compilation of EMPTY_CLASS_EXPR's
|
2003-08-22 12:13:13 +08:00
|
|
|
|
|
|
|
struct empty {};
|
|
|
|
|
2003-08-22 12:36:12 +08:00
|
|
|
void foo(empty) {}
|
2003-08-22 12:13:13 +08:00
|
|
|
|
|
|
|
void bar() { foo(empty()); }
|