diff options
Diffstat (limited to 'test/Driver/darwin-arch-default.c')
-rw-r--r-- | test/Driver/darwin-arch-default.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Driver/darwin-arch-default.c b/test/Driver/darwin-arch-default.c new file mode 100644 index 0000000000000..60bf61de8a345 --- /dev/null +++ b/test/Driver/darwin-arch-default.c @@ -0,0 +1,7 @@ +// Check that the name of the arch we bind is "ppc" not "powerpc". +// +// RUN: %clang -target powerpc-apple-darwin8 -### \ +// RUN: -ccc-print-phases %s 2> %t +// RUN: FileCheck --check-prefix=CHECK-POWERPC < %t %s +// +// CHECK-POWERPC: bind-arch, "ppc" |