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
/
arrow4.C
blob
89e78221958605980fd01a450d52c64bd4441417
1
// PR c++/56895
2
// { dg-do compile }
3
4
void fn (int *);
5
void fn (int);
6
extern struct A { bool foo (); A bar (); } *a;
7
8
template <int>
9
void
10
baz ()
11
{
12
fn (a->bar().foo() ? 1 : 0);
13
}
14
15
void
16
test ()
17
{
18
baz<0> ();
19
}