[LLVMbugs] [Bug 10793] New: dejagnu test fails to compile addfunc3.C

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 27 13:59:36 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10793

           Summary: dejagnu test fails to compile addfunc3.C
           Product: clang
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rkotler at mips.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7164)
 --> (http://llvm.org/bugs/attachment.cgi?id=7164)
g++.old-deja/g++.ext/addrfunc3.C

Compiles with g++ and intel edg based compiler


/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.ext/addrfunc3.C:12:12:
error: 
      cannot resolve overloaded function 'f' from context
  if (p != f)
           ^
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.ext/addrfunc3.C:7:6:
note: 
      candidate function
void f ();
     ^
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.ext/addrfunc3.C:6:6:
note: 
      candidate function
void f (int) { }
     ^
1 error generated.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list