blob: 65c6402f10f9c56f7c846141d468a70d5ff1cbdb [file] [log] [blame]
// { 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
}