summaryrefslogtreecommitdiff
path: root/test/FrontendC++/2003-08-21-EmptyClass.cpp
blob: 5dbfa33e03c3c81a410c3fbd12520e5d8038c482 (plain)
1
2
3
4
5
6
7
8
9
// 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()); }