commit | 114a297ef02a722b3afcd719210c060811d431e0 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Fri Apr 23 03:07:47 2010 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Fri Apr 23 03:07:47 2010 +0000 |
tree | 37fcc9881e6d1d58ead67fad9966a68d9203faa6 | |
parent | d04efc98d08731e31bd73f430803acc5ffa9040a [diff] [blame] |
Fix a think-o that broke self-host. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102165 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/constructor-initializer.cpp b/test/SemaCXX/constructor-initializer.cpp index c0e1281..e256d9f 100644 --- a/test/SemaCXX/constructor-initializer.cpp +++ b/test/SemaCXX/constructor-initializer.cpp
@@ -171,3 +171,14 @@ NDC<int> ndc; }; + +namespace Test0 { + +struct A { A(); }; + +struct B { + B() { } + const A a; +}; + +}