2 // GROUPS passed destructors
11 inline bla(const char * jim) { ; };
13 inline ~bla() { destruct++; if (destruct == 2) printf ("PASS\n");};
23 void funk(const bla & bob) { ;};
24 // ^ interestingly, the code compiles right if
25 // this & is deleted (and therefore the parameter
33 dumm.funk(bla("laberababa")); // this compiles correctly
35 dumm.funk((bla)"laberababa"); // this produces incorrect code -
36 // the temporary instance of
37 // the class "bla" is constructed
38 // but never destructed...