blob: af75e4fe646052d6dde2f99fc94d24c73387e246 [file] [log] [blame]
// RUN: %clang_cc1 -triple i686-windows-gnu -verify -std=c++03 %s
// RUN: %clang_cc1 -triple i686-windows-gnu -verify -std=c++11 %s
// RUN: %clang_cc1 -triple i686-windows-msvc -verify -std=c++11 %s
// FIXME: For C++03 MS ABI we erroneously try to synthesize default ctor, etc. for S.
// expected-no-diagnostics
struct NonCopyable {
private:
NonCopyable();
};
struct __declspec(dllexport) S {
NonCopyable member;
};