llvm-for-llvmta/tools/clang/test/Driver/print-libgcc-file-name-libg...

8 lines
232 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// Test that -print-libgcc-file-name correctly respects -rtlib=libgcc.
// REQUIRES: libgcc
// RUN: %clang -rtlib=libgcc -print-libgcc-file-name 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-LIBGCC %s
// CHECK-LIBGCC: libgcc.a