configure: Fix C++11 test with -Werror=missing-declarations

This fixes the following error (copied from config.log):

  conftest.cpp:49:14: error: no previous declaration for 'void
  test_template_alias_sfinae::test()' [-Werror=missing-declarations]

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2015-02-14 19:45:01 +01:00
parent f47e8465ef
commit 2d1336dcf3

View File

@@ -76,6 +76,8 @@ m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], [[
template<typename T>
void func(member<T>*) {}
void test();
void test() {
func<foo>(0);
}