Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/init/for2.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
// { dg-do compile } // PR 16012: Got the scope of I incorrect in templates only. template<int> void foo() { for (int i=0 ;;) ; int i; } void bar() { foo<0>(); }