f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
8 lines
712 B
C
8 lines
712 B
C
// RUN: %clang_cc1 -remap-file "%s;%S/Inputs/remapped-file" -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-EXIST %s
|
|
// RUN: %clang_cc1 -remap-file "%S/nonexistent.c;%S/Inputs/remapped-file" -fsyntax-only %S/nonexistent.c 2>&1 | FileCheck -check-prefix=CHECK-NONEXIST %s
|
|
// RUN: %clang_cc1 -remap-file "%S/nonexistent.c;%S/Inputs/remapped-file-2" -remap-file "%S/nonexistent.h;%S/Inputs/remapped-file-3" -fsyntax-only %S/nonexistent.c 2>&1 | FileCheck -check-prefix=CHECK-HEADER %s
|
|
|
|
// CHECK-EXIST: remap-file.c:1:28: warning: incompatible pointer types
|
|
// CHECK-NONEXIST: nonexistent.c:1:28: warning: incompatible pointer types
|
|
// CHECK-HEADER: nonexistent.c:3:19: warning: incompatible pointer types
|
|
int
|