Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/ext/injected-ttp.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// Test for doing the right thing with injected-class-name used as template // type argument. This is an extension from DR 176. // { dg-options "-pedantic -std=c++98" } template <class T> struct A { }; template <template <class> class TTP> struct B { }; struct C: A<int> { B<A> b; // { dg-warning "injected-class-name" } };