xref: /aosp_15_r20/external/clang/test/Sema/implicit-cast.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: %clang_cc1 -fsyntax-only %s
2*67e74705SXin Li 
test1(int cf)3*67e74705SXin Li static char *test1(int cf) {
4*67e74705SXin Li   return cf ? "abc" : 0;
5*67e74705SXin Li }
test2(int cf)6*67e74705SXin Li static char *test2(int cf) {
7*67e74705SXin Li   return cf ? 0 : "abc";
8*67e74705SXin Li }
9