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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr85029.C
blob
07472af16a5fd39d90c154752b1599d77dbe728d
1
// PR sanitizer/85029
2
// { dg-do compile }
3
// { dg-skip-if "" { *-*-* } { "-flto -fno-fat-lto-objects" } }
4
// { dg-options "-fsanitize=undefined" }
5
6
struct B {
7
virtual B bar ();
8
int e;
9
} register a; // { dg-error "register name not specified for 'a'" }
10
11
int
12
foo (...)
13
{
14
return foo (a);
15
}