X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ext%2Ftypename1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ext%2Ftypename1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=31de28fe8fe6e09bf21774ccdf33924edf4e98a6;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.ext/typename1.C b/gcc/testsuite/g++.old-deja/g++.ext/typename1.C deleted file mode 100644 index 31de28fe..00000000 --- a/gcc/testsuite/g++.old-deja/g++.ext/typename1.C +++ /dev/null @@ -1,32 +0,0 @@ -// Bug: g++ forgets about the instantiation of class1 when looking up -// class11_value, and tries to look things up in class1. - -// Special g++ Options: - -template -struct class1 { - struct class11 { - typedef ItIsInt class11_value; - }; -}; - -template -struct class3 { - int f(); -}; - -template -int class3::f() -{ - return class1::class11::class11_value(10); -} - -struct class2 { - typedef int class2_value; -}; - -int main() -{ - class3 the_class3; - the_class3.f(); -}