forked from boostorg/function
Fixed broken testcases that came from tutorial sample code
[SVN r16935]
This commit is contained in:
@ -9,6 +9,8 @@ struct X {
|
||||
int foo(int);
|
||||
};
|
||||
|
||||
int X::foo(int x) { return -x; }
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
@ -19,4 +21,3 @@ int main()
|
||||
f(5); // Call x.foo(5)
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user