1 // RUN: %clang_cc1 -fsyntax-only -fshow-overloads=best -std=c++0x -verify %s 2 3 template <class T> 4 struct X 5 { 6 operator T() const {return T();} 7 }; 8 9 void test_char16t(X<char16_t> x) { 10 bool b = x == char16_t(); 11 } 12