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
Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git]
/
main
/
gcc
/
testsuite
/
c-c++-common
/
ubsan
/
null-2.c
blob
cb3907fa5cc393056ad0e46ffec37079fd8cb53e
1
/* { dg-do run } */
2
/* { dg-options "-fsanitize=null -w" } */
3
/* { dg-shouldfail "ubsan" } */
4
5
int
6
main
(
void
)
7
{
8
int
***
ppp
=
0
;
9
return
***
ppp
;
10
}
11
12
/* { dg-output "load of null pointer of type 'int \\*\\*'(\n|\r\n|\r)" } */