repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
arg6.C
blob
ef05abaeedaef225212b9ef2992156f00c67d7ce
1
// PR c++/33744
2
// { dg-do run }
3
4
template <bool B> struct A { bool b; A() : b(B) {}; };
5
A<bool(1)> a;
6
A<bool(1<2)> b;
7
A<(bool)(2>1)> c;
8
A<bool((2>1))> d;
9
A<bool(2>1)> e;
10
11
int
12
main ()
13
{
14
return (a.b && b.b && c.b && d.b && e.b) ? 0 : 1;
15
}