diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2010-06-30 02:06:16 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2010-06-30 02:06:16 +0000 |
commit | ec29b352b7ab2a2e99f7a9b78ce27c5e2a08d0e1 (patch) | |
tree | 0bbcf3c15e426e7b28ba6c9c2646b32d7ad7bb1f /test/SemaCXX/constructor-initializer.cpp | |
parent | a274148a5cf85f758e469d5785fb72736f93f58b (diff) |
Revert r107235, it had a silly typo in it, and fixing the typo breaks something
else. Get the build bots happy while I debug. Very sorry for the delay fixing
this...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107239 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/constructor-initializer.cpp')
-rw-r--r-- | test/SemaCXX/constructor-initializer.cpp | 17 |
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); - } -} |