1 // cygming have not supported integrated-as yet. 2 // XFAIL: cygwin,mingw32 3 // 4 // Check to make sure clang is somewhat picky about -g options. 5 // (Delived from debug-options.c) 6 // rdar://10383444 7 // RUN: %clang -### -c -save-temps -g %s 2>&1 | FileCheck -check-prefix=SAVE %s 8 // 9 // SAVE: "-cc1as" 10 // SAVE-NOT: "-g" 11 12 // Check to make sure clang with -g on a .s file gets passed. 13 // rdar://9275556 14 // RUN: touch %t.s 15 // RUN: %clang -### -c -g %t.s 2>&1 | FileCheck -check-prefix=S %s 16 // 17 // S: "-cc1as" 18 // S: "-g" 19