repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
for1.C
blob
ebb444531e63b662697d45907bff28c4853448e0
1
// PR c++/47388
2
// { dg-do compile }
3
// { dg-options "-fno-for-scope -Wno-deprecated" }
4
5
template <int>
6
void
7
foo ()
8
{
9
int i;
10
for (i = 0; i < 16; i++)
11
;
12
for (int j = 0; j < 16; j++)
13
;
14
if (j != 16)
15
for (;;)
16
;
17
}
18
19
void
20
bar ()
21
{
22
foo <0> ();
23
}