[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenCXX / overload-binop-implicitconvert.cpp
blob0eb7a0609612c70d9d41464d8a07c88972f9d646
1 // RUN: %clang_cc1 %s -emit-llvm-only
2 class T
3 {};
5 void print(const char *t);
7 T& operator<< (T& t,const char* c)
9 print(c);
10 return t;
14 int main()
16 T t;
17 print("foo");
18 t<<"foo";
20 return 0;