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
Initial revision
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
misc7.C
1
// GROUPS passed miscellaneous
2
extern "C" void printf (char *, ...);
3
4
main()
5
{
6
int i = 0;
7
// Make sure build_unary_op correctly computes this.
8
int *pi = &(++i);
9
*pi = 4;
10
11
if (i != 4)
12
printf ("FAIL\n");
13
else
14
printf ("PASS\n");
15
}