Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/ext/injected-ttp.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +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" } };