X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fwarn%2Fimplicit-typename1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fwarn%2Fimplicit-typename1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=ab5587ef72ee22ebfecaeb681c3e5e87915c2399;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/warn/implicit-typename1.C b/gcc/testsuite/g++.dg/warn/implicit-typename1.C deleted file mode 100644 index ab5587ef..00000000 --- a/gcc/testsuite/g++.dg/warn/implicit-typename1.C +++ /dev/null @@ -1,17 +0,0 @@ -// The -pedantic option must be omitted to trigger the crash. -// { dg-do compile } -// { dg-options "" } - -// PR c++/7982: Crash warning about implicit typename. -// The base class refers to another typename, while the -// name lookup finds a template. - -template struct X {}; - -template struct C { - typedef typename T::X X; -}; - -template struct A : public C { - typedef X X; // { dg-warning "lookup|dependent base|typename" } -};