OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR testsuite/25241
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
ptrmem1.C
diff --git
a/gcc/testsuite/g++.old-deja/g++.pt/ptrmem1.C
b/gcc/testsuite/g++.old-deja/g++.pt/ptrmem1.C
index
e14c726
..
8ebc61c
100644
(file)
--- a/
gcc/testsuite/g++.old-deja/g++.pt/ptrmem1.C
+++ b/
gcc/testsuite/g++.old-deja/g++.pt/ptrmem1.C
@@
-1,3
+1,4
@@
+// { dg-do run }
class foo
{
public:
@@
-10,7
+11,7
@@
main()
{
foo f;
- int (foo::*s)() = &foo::
template
bar<int>;
+ int (foo::*s)() = &foo::bar<int>;
if ((f.*s)() == 7)
return 0;
else