llvm-project/clang/test/Driver/print-libgcc-file-name-libg...

8 lines
232 B
C

// 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