Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/template/nontype5.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
// { dg-do compile } // Origin: Ivan Godard <igodard@pacbell.net> // Volker Reichelt <reichelt@gcc.gnu.org> // PR c++/13797: ICE invalid nontype template parameter template <int> struct A { typedef A<0> B; template <B> struct C {}; // { dg-error "class type|incomplete" } }; A<0> a;