X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fext%2Ftypeof1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fext%2Ftypeof1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=a3c13c8ae13858adb6a8c8d807d899e2f51fd593;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/ext/typeof1.C b/gcc/testsuite/g++.dg/ext/typeof1.C deleted file mode 100644 index a3c13c8a..00000000 --- a/gcc/testsuite/g++.dg/ext/typeof1.C +++ /dev/null @@ -1,21 +0,0 @@ -// Test typeof template argument substitution - -// Copyright (C) 2001 Free Software Foundation -// Contributed by Kriang Lerdsuwanakij -// { dg-do compile } -// { dg-options "" } - -template struct A { - void f() {} - void g(T* t) { - A a; - a.f(); - } -}; - -int main() -{ - A a; - int b; - a.g(&b); -}