-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Open
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"rejects-valid
Description
| Bugzilla Link | 10780 |
| Version | 2.9 |
| OS | Linux |
| Attachments | [g++.old-dejahttps://user-images.githubusercontent.com/60944935/143743751-584ab9f7-8ff7-4fde-888d-6a5a282f0094.gz) |
| Reporter | LLVM Bugzilla Contributor |
Extended Description
Compiles with g++ and intel compiler with edg front end
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.pt/memclass5.C
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.pt/memclass5.C:15:27: error:
typename specifier refers to non-type member 'B' in 'A'
b.A::template B::~B();
^
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.pt/memclass5.C:22:3: note:
in instantiation of function template specialization 'f<int, char>'
requested here
f<int, char>();
^
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.pt/memclass5.C:3:29: note:
referenced member 'B' is declared here
template struct B {
^
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"rejects-valid