Skip to content

Commit aed7e14

Browse files
committed
Add test for regular functions added as member functions
[SVN r13348]
1 parent 6835c34 commit aed7e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/m1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ struct A
172172
struct B : A
173173
{
174174
B() : x(1) {}
175-
char const* name() { return "B"; }
175+
static char const* name(B*) { return "B"; }
176176
int x;
177177
};
178178

0 commit comments

Comments
 (0)