blob: b9111a62005531242dacd49daecde3c6b90d649e [file] [log] [blame]
Sebastian Pop9ec60df2012-01-20 22:01:23 +00001// RUN: %clang -target i386-unknown-unknown -m64 -v 2> %t
Daniel Dunbar4fcfde42009-11-08 01:45:36 +00002// RUN: grep 'Target: x86_64-unknown-unknown' %t
Daniel Dunbarf2edbf32009-06-16 21:39:33 +00003
Sebastian Pop9ec60df2012-01-20 22:01:23 +00004// RUN: %clang -target i386-apple-darwin9 -arch ppc -m64 -v 2> %t
Daniel Dunbar4fcfde42009-11-08 01:45:36 +00005// RUN: grep 'Target: powerpc64-apple-darwin9' %t
Daniel Dunbar407899b2009-06-16 21:46:01 +00006
Sebastian Pop9ec60df2012-01-20 22:01:23 +00007// RUN: %clang -target i386-apple-darwin9 -arch ppc64 -m32 -v 2> %t
Daniel Dunbar407899b2009-06-16 21:46:01 +00008// RUN: grep 'Target: powerpc-apple-darwin9' %t