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
/
parse
/
parens2.C
blob
416af0ee048732671d81b4195ec0595e1f500e74
1
/* PR c++/8842. */
2
/* { dg-do compile } */
3
int main( int argc, char* argv )
4
{
5
int i = 5;
6
// This always worked:
7
// double l1 = double(int(i)) / double(int(i));
8
// But this used to give a parse error before the `/' token:
9
double l2 = (double(int(i)) / double(int(i)));
10
}
11