1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Regression/C++Frontend/2003-08-21-EmptyClass.cpp
2003-08-22 04:36:12 +00:00

8 lines
116 B
C++

// This tests compilation of EMPTY_CLASS_EXPR's
struct empty {};
void foo(empty) {}
void bar() { foo(empty()); }