repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git]
/
test
/
SemaCXX
/
overloaded-builtin-operators-0x.cpp
blob
32f1995290644390bc2aac3c928dde45ce5f417a
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
}