]> git.proxmox.com Git - rustc.git/blame - src/llvm/tools/clang/test/Sema/implicit-cast.c
Imported Upstream version 0.6
[rustc.git] / src / llvm / tools / clang / test / Sema / implicit-cast.c
CommitLineData
223e47cc
LB
1// RUN: %clang_cc1 -fsyntax-only %s
2
3static char *test1(int cf) {
4 return cf ? "abc" : 0;
5}
6static char *test2(int cf) {
7 return cf ? 0 : "abc";
8}