llvm-for-llvmta/tools/clang/test/SemaCXX/pr28050.cpp

12 lines
193 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -triple x86_64-pc-windows-msvc -std=c++11 %s -fsyntax-only
//
// expected-no-diagnostics
class A {
public:
A(char *s) {}
A(A &&) = delete;
};
int main() { A a("OK"); }