1 // RUN: %clang -target x86_64-apple-darwin -save-temps -arch x86_64 %s -### 2>&1 \ 2 // RUN: | FileCheck %s 3 // CHECK: "-o" "save-temps.i" 4 // CHECK: "-o" "save-temps.s" 5 // CHECK: "-o" "save-temps.o" 6 // CHECK: "-o" "a.out" 7 8 // RUN: %clang -target x86_64-apple-darwin -save-temps -arch i386 -arch x86_64 %s -### 2>&1 \ 9 // RUN: | FileCheck %s -check-prefix=MULT-ARCH 10 // MULT-ARCH: "-o" "save-temps-i386.i" 11 // MULT-ARCH: "-o" "save-temps-i386.s" 12 // MULT-ARCH: "-o" "save-temps-i386.o" 13 // MULT-ARCH: "-o" "a.out-i386" 14 // MULT-ARCH: "-o" "save-temps-x86_64.i" 15 // MULT-ARCH: "-o" "save-temps-x86_64.s" 16 // MULT-ARCH: "-o" "save-temps-x86_64.o" 17 // MULT-ARCH: "-o" "a.out-x86_64" 18 // MULT-ARCH: lipo 19 // MULT-ARCH: "-create" "-output" "a.out" "a.out-i386" "a.out-x86_64" 20