3 // GROUPS passed ARM-compliance
4 // arm file (also in cvt file)
5 // Message-Id: <9303061246.AA09402@gjetost.cs.wisc.edu>
6 // From: solomon@cs.wisc.edu (Marvin Solomon)
7 // Subject: Incorrect resolution of conversion path
8 // Date: Sat, 6 Mar 93 06:46:27 -0600
11 extern "C" int printf (const char *, ...);
16 Base(int ii) : i(ii) {}
19 class Derived : public Base {
21 Derived(int ii) : Base(ii) {}
25 Derived::operator Base&() {
26 Base *b = new Base(100*i);
32 { printf ("PASS\n"); return 0; }
34 { printf ("FAIL\n"); return 1; }