2004-11-27-ExceptionCleanupAssertion.cpp revision 2368b6af4a5f0c07c7b77f8900a956dce75bbf84
1// RUN: %clang_cc1 %s -emit-llvm -o /dev/null
2
3// This is PR421
4
5struct Strongbad {
6    Strongbad(const char *str );
7    ~Strongbad();
8    operator const char *() const;
9};
10
11void TheCheat () {
12  Strongbad foo(0);
13  Strongbad dirs[] = { Strongbad(0) + 1};
14}
15