This is adding a test for an old fixed PR to make sure we don't regress.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@257009
91177308-0d34-0410-b5e6-
96231b3b80d8
// CHECK-NOT: "-Wall"
// CHECK-NOT: "-Wdocumentation"
// CHECK: "-o" "a.out"
+
+// Check that we're not forwarding -g options to the assembler
+// RUN: %clang -g -target x86_64-unknown-linux-gnu -no-integrated-as -c %s -### 2>&1 \
+// RUN: | FileCheck --check-prefix=CHECK-ASM %s
+// CHECK-ASM: as
+// CHECK-ASM-NOT: "-g"