repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
asan
/
pr79783.C
blob
939f60b2819f38c64e4bc6ebf3f02c78a987a04a
1
// PR sanitizer/79783
2
// { dg-options "-fno-tree-dce" }
3
4
struct A
5
{
6
static void foo(const char&) {}
7
};
8
9
struct B
10
{
11
B() { A::foo(char()); }
12
};
13
14
struct C
15
{
16
virtual void bar() const { B b; }
17
};
18
19
C c;