OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
this-targ1.C
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