From 952eddef9aff85b1e92626e89baaf7a360e2ac85 Mon Sep 17 00:00:00 2001 From: dim Date: Sun, 22 Dec 2013 00:07:40 +0000 Subject: Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3): https://llvm.org/svn/llvm-project/cfe/branches/release_34@197841 --- test/Driver/gcc-version-debug.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/Driver/gcc-version-debug.c (limited to 'test/Driver/gcc-version-debug.c') diff --git a/test/Driver/gcc-version-debug.c b/test/Driver/gcc-version-debug.c new file mode 100644 index 0000000..ff38c28 --- /dev/null +++ b/test/Driver/gcc-version-debug.c @@ -0,0 +1,6 @@ +// RUN: %clang -v --target=i386-unknown-linux \ +// RUN: --sysroot=%S/Inputs/debian_multiarch_tree 2>&1 | FileCheck %s + +// CHECK: Found candidate GCC installation: {{.*}}Inputs{{.}}debian_multiarch_tree{{.}}usr{{.}}lib{{.}}gcc{{.}}i686-linux-gnu{{.}}4.5 +// CHECK-NEXT: Found candidate GCC installation: {{.*}}Inputs{{.}}debian_multiarch_tree{{.}}usr{{.}}lib{{.}}gcc{{.}}x86_64-linux-gnu{{.}}4.5 +// CHECK-NEXT: Selected GCC installation: {{.*}}Inputs{{.}}debian_multiarch_tree{{.}}usr{{.}}lib{{.}}gcc{{.}}i686-linux-gnu{{.}}4.5 -- cgit v1.1