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