Executing on host: /home/dave/gnu/gcc-4.1/objdir/gcc/testsuite/../g++ -B/home/da ve/gnu/gcc-4.1/objdir/gcc/testsuite/../ /home/dave/gnu/gcc-4.1/gcc/gcc/testsuite /obj-c++.dg/lookup-2.mm -nostdinc++ -I/home/dave/gnu/gcc-4.1/objdir/hppa-linux/ libstdc++-v3/include/hppa-linux -I/home/dave/gnu/gcc-4.1/objdir/hppa-linux/libst dc++-v3/include -I/home/dave/gnu/gcc-4.1/gcc/libstdc++-v3/libsupc++ -I/home/dave /gnu/gcc-4.1/gcc/libstdc++-v3/include/backward -I/home/dave/gnu/gcc-4.1/gcc/libs tdc++-v3/testsuite -fmessage-length=0 -ansi -pedantic-errors -Wno-long-long -I /home/dave/gnu/gcc-4.1/gcc/gcc/testsuite/../../libobjc -L/home/dave/gnu/gcc-4 .1/objdir/hppa-linux/./libstdc++-v3/src/.libs -L/home/dave/gnu/gcc-4.1/objdir/h ppa-linux/./libstdc++-v3/src/.libs -L/home/dave/gnu/gcc-4.1/objdir/hppa-linux/./ libiberty -L/home/dave/gnu/gcc-4.1/objdir/hppa-linux/./libobjc/.libs -lobjc -lm -o ./lookup-2.exe (timeout = 300) /home/dave/gnu/gcc-4.1/gcc/gcc/testsuite/obj-c++.dg/lookup-2.mm: In function 'My Widget* _c_Container__elementForView_(objc_object*, const objc_selector*, Foo*)' : /home/dave/gnu/gcc-4.1/gcc/gcc/testsuite/obj-c++.dg/lookup-2.mm:40: error: canno t convert 'objc_object*' to 'MyWidget*' in initialization compiler exited with status 1 output is: /home/dave/gnu/gcc-4.1/gcc/gcc/testsuite/obj-c++.dg/lookup-2.mm: In function 'My Widget* _c_Container__elementForView_(objc_object*, const objc_selector*, Foo*)' : /home/dave/gnu/gcc-4.1/gcc/gcc/testsuite/obj-c++.dg/lookup-2.mm:40: error: canno t convert 'objc_object*' to 'MyWidget*' in initialization FAIL: obj-c++.dg/lookup-2.mm (test for excess errors)
*** This bug has been marked as a duplicate of 23614 ***