From f7a951d79bc895eb2171c2570add9f4899794a10 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 19:55:52 +0200 Subject: Adding upstream version 0.15. Signed-off-by: Daniel Baumann --- testsuite/dwz.tests/odr.cc | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 testsuite/dwz.tests/odr.cc (limited to 'testsuite/dwz.tests/odr.cc') diff --git a/testsuite/dwz.tests/odr.cc b/testsuite/dwz.tests/odr.cc new file mode 100644 index 0000000..9505cb3 --- /dev/null +++ b/testsuite/dwz.tests/odr.cc @@ -0,0 +1,26 @@ +#if NAMESPACE +namespace ns { +#endif + KIND bbb; + KIND ccc { + int member_three; + }; +#if NAMESPACE +} +#endif + +#include "odr.h" + +#if NAMESPACE +KIND ns::aaa var1; +KIND ns::ccc var3; +#else +KIND aaa var1; +KIND ccc var3; +#endif + +int +main (void) +{ + return 0; +} -- cgit v1.2.3