1 // RUN: %clang_cc1 -fsyntax-only -verify %s 2 3 namespace std { 4 template<typename T> class vector { }; // expected-note{{candidate}} 5 } 6 7 typedef int INT; 8 typedef float Real; 9 10 void test() { 11 using namespace std; 12 13 std::vector<INT> v1; 14 vector<Real> v2; 15 v1 = v2; // expected-error{{no viable overloaded '='}} 16 } 17