| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module mojo.test.test_export; | 5 module mojo.test.test_export; |
| 6 | 6 |
| 7 struct StringPair { | 7 struct StringPair { |
| 8 string s1; | 8 string s1; |
| 9 string s2; | 9 string s2; |
| 10 }; | 10 }; |
| 11 | 11 |
| 12 // This is a regression test. On Windows, if we export the generated class *and* | 12 // This is a regression test. On Windows, if we export the generated class *and* |
| 13 // not explicitly disallow copy constructor and assign operator, compilation | 13 // not explicitly disallow copy constructor and assign operator, compilation |
| 14 // will fail because it tries to use copy constructor of | 14 // will fail because it tries to use copy constructor of |
| 15 // InlinedStructPtr<StringPair>. | 15 // InlinedStructPtr<StringPair>. |
| 16 struct StringPairContainer { | 16 struct StringPairContainer { |
| 17 array<StringPair> pairs; | 17 array<StringPair> pairs; |
| 18 }; | 18 }; |
| 19 |
| 20 interface ExportedInterface {}; |
| OLD | NEW |