repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
misc7.C
blob
af61f92e349f1a0ade78c24515f169621e9ca17e
1
// { dg-do run }
2
// GROUPS passed miscellaneous
3
extern "C" int printf (const char *, ...);
4
5
int main()
6
{
7
int i = 0;
8
// Make sure build_unary_op correctly computes this.
9
int *pi = &(++i);
10
*pi = 4;
11
12
if (i != 4)
13
{ printf ("FAIL\n"); return 1; }
14
else
15
printf ("PASS\n");
16
}