diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/warn/pmf1.C')
-rw-r--r-- | gcc/testsuite/g++.dg/warn/pmf1.C | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/warn/pmf1.C b/gcc/testsuite/g++.dg/warn/pmf1.C index 013c21b6db9..a63a00c33df 100644 --- a/gcc/testsuite/g++.dg/warn/pmf1.C +++ b/gcc/testsuite/g++.dg/warn/pmf1.C @@ -15,4 +15,5 @@ int a::f() const { int (a::* b)() const = &f; // { dg-error "&a::f" } + return 0; } |