Fix function name in cpp_basic_template_function test
Use "_wrap_" prefix to make the test compile and pass.
This commit is contained in:
parent
2edbbfd87f
commit
af9dd72bb6
2 changed files with 2 additions and 3 deletions
|
|
@ -63,7 +63,6 @@ FAILING_CPP_TESTS := \
|
||||||
class_ignore \
|
class_ignore \
|
||||||
class_scope_weird \
|
class_scope_weird \
|
||||||
constant_pointers \
|
constant_pointers \
|
||||||
cpp_basic_template_function \
|
|
||||||
cpp_namespace \
|
cpp_namespace \
|
||||||
cpp_typedef \
|
cpp_typedef \
|
||||||
c_backend_cpp_natural_std_string \
|
c_backend_cpp_natural_std_string \
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
#include "cpp_basic_template_function/cpp_basic_template_function_wrap.h"
|
#include "cpp_basic_template_function/cpp_basic_template_function_wrap.h"
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
assert(GetMaxInt(3, 5) == 5);
|
assert(_wrap_GetMaxInt(3, 5) == 5);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue