Commit 7d21fec7 authored by Andreas Schlick's avatar Andreas Schlick Committed by Rusty Russell

configurator: Remove the now unneeded test for nested functions.

parent 15541b43
......@@ -36,7 +36,6 @@
#define HAVE_MEMMEM 1
#define HAVE_MMAP 1
#define HAVE_QSORT_R_PRIVATE_LAST 1
#define HAVE_NESTED_FUNCTIONS 1
#define HAVE_STACK_GROWS_UPWARDS 0
#define HAVE_STATEMENT_EXPR 1
#define HAVE_TYPEOF 1
......
......@@ -134,13 +134,6 @@ static struct test tests[] = {
" qsort_r(array, 3, sizeof(int), cmp, &called);\n"
" return called && array[0] == 2 && array[1] == 5 && array[2] == 9 ? 0 : 1;\n"
"}\n" },
{ "HAVE_NESTED_FUNCTIONS", DEFINES_FUNC, NULL,
"void (*func(int val))(int);\n"
"void (*func(int val))(int) {\n"
" auto void add(int val2);\n"
" void add(int val2) { val += val2; }\n"
" return add;\n"
"}\n" },
{ "HAVE_STACK_GROWS_UPWARDS", DEFINES_EVERYTHING|EXECUTE, NULL,
"static long nest(const void *base, unsigned int i)\n"
"{\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment