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