Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / 2004-11-27-ExceptionCleanupAssertion.cpp
blobebcce7796e71b008b2f72ef7e574975b0eaee68f
1 // RUN: %clang_cc1 %s -emit-llvm -o /dev/null
3 // This is PR421
5 struct Strongbad {
6 Strongbad(const char *str );
7 ~Strongbad();
8 operator const char *() const;
9 };
11 void TheCheat () {
12 Strongbad foo(0);
13 Strongbad dirs[] = { Strongbad(0) + 1};