mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 07:39:31 +00: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()); }
|