Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / memtemp10.C
blobd97f949de4bc13809399652d7f6f1374c3835798
1 // { dg-do link  }
2 // GROUPS passed templates membertemplates
3 extern "C" int printf(const char*, ...);
5 struct S {
6   template <class T>
7   operator T*();
8 };
11 template <class T>
12 S::operator T*()
14   printf("Hello, world.\n");
15   return 0;
19 int main()
21   S s;
23   char* cp = s.operator char*();