From af9dd72bb67811cf7eb93fbbc34e8f4c3a41310c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 20 Apr 2016 18:49:43 +0200 Subject: [PATCH] Fix function name in cpp_basic_template_function test Use "_wrap_" prefix to make the test compile and pass. --- Examples/test-suite/c/Makefile.in | 1 - Examples/test-suite/c/cpp_basic_template_function_runme.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Examples/test-suite/c/Makefile.in b/Examples/test-suite/c/Makefile.in index e5c500f8e..671cf93e0 100644 --- a/Examples/test-suite/c/Makefile.in +++ b/Examples/test-suite/c/Makefile.in @@ -63,7 +63,6 @@ FAILING_CPP_TESTS := \ class_ignore \ class_scope_weird \ constant_pointers \ - cpp_basic_template_function \ cpp_namespace \ cpp_typedef \ c_backend_cpp_natural_std_string \ diff --git a/Examples/test-suite/c/cpp_basic_template_function_runme.c b/Examples/test-suite/c/cpp_basic_template_function_runme.c index 10943d5e7..920d35a7e 100644 --- a/Examples/test-suite/c/cpp_basic_template_function_runme.c +++ b/Examples/test-suite/c/cpp_basic_template_function_runme.c @@ -2,7 +2,7 @@ #include "cpp_basic_template_function/cpp_basic_template_function_wrap.h" int main() { - assert(GetMaxInt(3, 5) == 5); + assert(_wrap_GetMaxInt(3, 5) == 5); return 0; -} \ No newline at end of file +}