diff options
Diffstat (limited to 'test/FrontendC++/2003-09-30-CommaExprBug.cpp')
-rw-r--r-- | test/FrontendC++/2003-09-30-CommaExprBug.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/FrontendC++/2003-09-30-CommaExprBug.cpp b/test/FrontendC++/2003-09-30-CommaExprBug.cpp new file mode 100644 index 0000000000..afe470cd11 --- /dev/null +++ b/test/FrontendC++/2003-09-30-CommaExprBug.cpp @@ -0,0 +1,10 @@ +// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null + +class Empty {}; + +void foo(Empty E); + +void bar() { + foo(Empty()); +} + |