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
/
ubsan
/
pr59306.C
blob
621093c6b732c7090b1abbafc7b303c3b95f4531
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
}