1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s
3 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
6 template<typename T
> class vector
{ }; // expected-note{{candidate function (the implicit copy assignment operator) not viable}}
7 #if __cplusplus >= 201103L // C++11 or later
8 // expected-note@-2 {{candidate function (the implicit move assignment operator) not viable}}
20 v1
= v2
; // expected-error{{no viable overloaded '='}}