summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/lookup5.C
blob: 65c6402f10f9c56f7c846141d468a70d5ff1cbdb (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble }
// Simplified from bug report by Paris Smaragdis <paris@media.mit.edu>


template <class T> class vector {};
class foo {};
int main() {
        foo f;
        f.vector(); // { dg-error "" } not a method
}