summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-20 00:57:17 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-20 00:57:17 +0200
commit5d0ae62c665262c4c55536457e84e278c252cc0b (patch)
treedecb6fcb6a26ca21f296b974a22f5c5a3393b570 /src
parent0340a83b26b315c56bfc10aa922141a1e737f6a7 (diff)
CONST_MAX breaks gcc on fedora 20 with optimiztationsystemd/v216
Diffstat (limited to 'src')
-rw-r--r--src/test/test-util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/test-util.c b/src/test/test-util.c
index b74abac154..ac1afce86b 100644
--- a/src/test/test-util.c
+++ b/src/test/test-util.c
@@ -85,7 +85,6 @@ static void test_max(void) {
/* CONST_MAX returns (void) instead of a value if the passed arguments
* are not of the same type or not constant expressions. */
assert_cc(__builtin_types_compatible_p(typeof(CONST_MAX(1, 10)), int));
- assert_cc(__builtin_types_compatible_p(typeof(CONST_MAX(d, 10)), void));
assert_cc(__builtin_types_compatible_p(typeof(CONST_MAX(1, 1U)), void));
assert_se(val1.a == 100);