mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
bf08e82d8e
llvm-svn: 79992
10 lines
168 B
C++
10 lines
168 B
C++
// 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()); }
|