summaryrefslogtreecommitdiffstats
path: root/test/Modules/odr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/odr.cpp')
-rw-r--r--test/Modules/odr.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Modules/odr.cpp b/test/Modules/odr.cpp
index 5ab10d2..120ca20 100644
--- a/test/Modules/odr.cpp
+++ b/test/Modules/odr.cpp
@@ -6,6 +6,9 @@ struct X { // expected-note {{definition has no member 'n'}}
};
@import a;
+
+bool b = F<int>{0} == F<int>{1};
+
@import b;
// Trigger the declarations from a and b to be imported.
OpenPOWER on IntegriCloud