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
tree: Don't reuse types if TYPE_USER_ALIGN differ [PR94775]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
nonnull2.C
blob
10515a47405d634c06aad4bf4cf0b1fccd3ab081
1
// PR c++/60764
2
// { dg-options "-Wall" }
3
4
struct foo
5
{
6
foo () __attribute__ ((nonnull (1)));
7
};
8
9
const foo &x = foo (); // { dg-bogus "null argument" }
10
foo y = foo (); // { dg-bogus "null argument" }