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
c-family: Fix -Warray-compare warning ICE [PR115290]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
new2.C
blob
a2e000e19bf2826315da02bcc9f7ed5fd27a0086
1
// { dg-do run }
2
// { dg-options "-Wno-deprecated -fno-exceptions" }
3
// PRMS Id: 6267
4
5
struct A {
6
int i;
7
A() { i = 2; }
8
};
9
10
int
11
main()
12
{
13
A *p = new A ();
14
return 0;
15
}