mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
'clang-cpp'. For now, the test uses "REQUIRES: shell" to determine if the host system supports "ln -s", which it uses to create a 'clang-cpp' symlink. This is a bit hacky and should likely be directly supported by lit.cfg. llvm-svn: 161317
7 lines
230 B
C
7 lines
230 B
C
// REQUIRES: shell
|
|
// RUN: ln -sf %clang %T/clang-cpp
|
|
|
|
// PR13529: Don't crash.
|
|
// RUN: %T/clang-cpp -lfoo -M %s 2>&1 | FileCheck --check-prefix=CHECK-PR13529 %s
|
|
// CHECK-PR13529: warning: -lfoo: 'linker' input unused in cpp mode
|