OSDN Git Service

added crash test
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / lookup5.C
1 // Build don't link:
2 // Simplified from bug report by Paris Smaragdis <paris@media.mit.edu>
3
4 // crash test - XFAIL *-*-*
5
6 template <class T> class vector {};
7 class foo {};
8 int main() {
9         foo f;
10         f.vector(); // ERROR - not a method
11 }