Dmitry Polukhin | ba57f02 | 2016-07-19 11:29:16 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple x86_64-pc-windows-msvc -std=c++11 %s -fsyntax-only |
2 | // | ||||
3 | // expected-no-diagnostics | ||||
4 | |||||
5 | class A { | ||||
6 | public: | ||||
7 | A(char *s) {} | ||||
8 | A(A &&) = delete; | ||||
9 | }; | ||||
10 | |||||
11 | int main() { A a("OK"); } |