aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/constructor-initializer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/constructor-initializer.cpp')
-rw-r--r--test/SemaCXX/constructor-initializer.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/SemaCXX/constructor-initializer.cpp b/test/SemaCXX/constructor-initializer.cpp
index bf4b289a90..8e9e133d94 100644
--- a/test/SemaCXX/constructor-initializer.cpp
+++ b/test/SemaCXX/constructor-initializer.cpp
@@ -204,20 +204,3 @@ C f(C c) {
}
}
-
-// Don't build implicit initializers for anonymous union fields when we already
-// have an explicit initializer for another field in the union.
-namespace PR7402 {
- struct S {
- union {
- void* ptr_;
- struct { int i_; };
- };
-
- template <typename T> S(T) : ptr_(0) { }
- };
-
- void f() {
- MyStruct s(3);
- }
-}