☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGenCXX
/
overload-binop-implicitconvert.cpp
☽
☼
clang/test/CodeGenCXX/overload-binop-implicitconvert.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 %s -emit-llvm-only
2
class T
3
{};
4
5
void print(const char *t);
6
7
T& operator<< (T& t,const char* c)
8
{
9
print(c);
10
return t;
11
}
12
13
14
int main()
15
{
16
T t;
17
print("foo");
18
t<<"foo";
19
20
return 0;
21
}
22