1 // Test that -print-libgcc-file-name correctly respects -rtlib=libgcc.
2 
3 // REQUIRES: libgcc
4 
5 // RUN: %clang -rtlib=libgcc -print-libgcc-file-name 2>&1 \
6 // RUN:   | FileCheck --check-prefix=CHECK-LIBGCC %s
7 // CHECK-LIBGCC: libgcc.a
8