Douglas Gregor | 0b8ddb9 | 2010-10-21 18:04:08 +0000 | [diff] [blame] | 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 | } |