summaryrefslogtreecommitdiffstats
path: root/test/PCH/cxx-for-range.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/cxx-for-range.h')
-rw-r--r--test/PCH/cxx-for-range.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/PCH/cxx-for-range.h b/test/PCH/cxx-for-range.h
index f15c7e7..8f50f2f 100644
--- a/test/PCH/cxx-for-range.h
+++ b/test/PCH/cxx-for-range.h
@@ -9,11 +9,12 @@ struct T { };
char *begin(T);
char *end(T);
-struct U { };
-namespace std {
+namespace NS {
+ struct U { };
char *begin(U);
char *end(U);
}
+using NS::U;
void f() {
char a[3] = { 0, 1, 2 };
OpenPOWER on IntegriCloud