☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr59306.C
☽
☼
gcc/testsuite/g++.dg/ubsan/pr59306.C
code
plain
raw
1
// { dg-do compile }
2
// { dg-options "-fsanitize=undefined" }
3
4
class A {
5
void bar (void (A::*) (int));
6
void foo (int);
7
void B ();
8
};
9
10
void A::B()
11
{
12
bar (&A::foo);
13
}