From 87427d2eaa90bbc1c12eedecca95554d93c3c212 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 8 Oct 2019 09:15:17 +0200 Subject: PR 719: fix real/imag namespace conflict --- test/main.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/main.h') diff --git a/test/main.h b/test/main.h index 4c1733b1f..54553f742 100644 --- a/test/main.h +++ b/test/main.h @@ -91,6 +91,11 @@ #define isfinite(X) please_protect_your_isfinite_with_parentheses #endif + +// test possible conflicts +struct real {}; +struct imag {}; + #ifdef M_PI #undef M_PI #endif -- cgit v1.2.3