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
libstdc++: add missing __
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr59250.C
blob
e438d24fda98b1159eebc54a748d538a56eac63c
1
// PR sanitizer/59250
2
// { dg-do compile }
3
// { dg-options "-fsanitize=undefined" }
4
5
struct E {
6
int i;
7
};
8
9
struct S {
10
const char *s;
11
S (const char *);
12
static E *e;
13
};
14
15
S::S (const char *) : s (0)
16
{
17
e = new E ();
18
}