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 3// found in the LICENSE file. 4 5module mojo.test.test_export; 6 7struct StringPair { 8 string s1; 9 string s2; 10}; 11 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 14// will fail because it tries to use copy constructor of 15// InlinedStructPtr<StringPair>. 16struct StringPairContainer { 17 array<StringPair> pairs; 18}; 19 20interface ExportedInterface {}; 21