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
2008-08-09 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wparentheses-3.C
1
// Test that -Wparentheses does not give bogus warnings in the
2
// presence of templates. Bug 17041.
3
4
// { dg-do compile }
5
// { dg-options "-Wparentheses" }
6
7
template<int> struct A
8
{
9
int i;
10
A() { if ((i = 0)) ; }
11
};
12
13
A<0> a;