blob: f3d225e81a603289c625ccdf74d3e947f47e0d30 [file] [log] [blame]
// RUN: %llvmgxx %s -S -o /dev/null
// This is PR421
struct Strongbad {
Strongbad(const char *str );
~Strongbad();
operator const char *() const;
};
void TheCheat () {
Strongbad foo(0);
Strongbad dirs[] = { Strongbad(0) + 1};
}