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++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
this-targ1.C
blob
6864be5abbc30a87cad11bad86fd1dbfe023f917
1
// PR c++/47904
2
3
template <bool>
4
struct S
5
{
6
};
7
8
template <class T>
9
class U
10
{
11
T t;
12
int foo () const
13
{
14
S <sizeof (t) == 1> s;
15
return 1;
16
}
17
int bar () const
18
{
19
S <sizeof (t) == 1> s;
20
return 1;
21
}
22
};
23