-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"duplicateResolved as duplicateResolved as duplicate
Description
Bugzilla Link | 10768 |
Resolution | DUPLICATE |
Resolved on | Aug 26, 2011 15:31 |
Version | 2.9 |
OS | Linux |
Attachments | exteraC3.C |
Reporter | LLVM Bugzilla Contributor |
CC | @efriedma-quic |
Extended Description
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.other/externC3.C
compiles fine with g++ and intel edg based compiler
rkotler@ubuntu-rkotler:~/icpc$ ~/build_llvm/install/bin/clang++ /home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.other/externC3.C
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.other/externC3.C:15:3: error:
call to 'f' is ambiguous
f ();
^
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.other/externC3.C:6:18: note:
candidate function
extern "C" int f ();
^
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.other/externC3.C:9:16: note:
candidate function
extern "C" int f () { return 0; }
^
1 error generated.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"duplicateResolved as duplicateResolved as duplicate