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
PR c++/34774
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
compound1.C
1
// PR c++/33709
2
// { dg-do compile }
3
// { dg-options "-O2" }
4
5
class S {
6
virtual void foo ();
7
};
8
struct T {
9
S *s;
10
void bar (unsigned x) { s = (new S[1]) - x; }
11
};