X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=libmudflap%2Ftestsuite%2Flibmudflap.c%2B%2B%2Fpass61-frag.cxx;fp=libmudflap%2Ftestsuite%2Flibmudflap.c%2B%2B%2Fpass61-frag.cxx;h=03046112c46d2a530fb0d4e5408db7c7f36719d6;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0000000000000000000000000000000000000000;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/libmudflap/testsuite/libmudflap.c++/pass61-frag.cxx b/libmudflap/testsuite/libmudflap.c++/pass61-frag.cxx new file mode 100644 index 00000000..03046112 --- /dev/null +++ b/libmudflap/testsuite/libmudflap.c++/pass61-frag.cxx @@ -0,0 +1,20 @@ +// PR c++/34619 +// { dg-do compile } + +template struct A +{ + typedef int X; + static const int N = 1; +}; + +template struct B +{ + typedef typename A ::N]>::X Y; + template B (Y, U) {} +}; + +int main () +{ +} + +B b (0, 0);