summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/ftest-armv6m-thumb.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-02 08:16:14 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-02 08:16:14 +0000
commit766ea20013c206911829dcc3f01705578656d0f8 (patch)
treebde0a90afafe80c675b78627a527471633716094 /gcc/testsuite/gcc.target/arm/ftest-armv6m-thumb.c
parent50ebd62c4be721e1ff9751b6029e04050bad6746 (diff)
downloadgcc-766ea20013c206911829dcc3f01705578656d0f8.tar.gz
2012-07-02 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 189108 using svnmerge [gcc/] 2012-07-02 Basile Starynkevitch <basile@starynkevitch.net> * Makefile.in (MELT_REVISION_STR): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@189109 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/arm/ftest-armv6m-thumb.c')
-rw-r--r--gcc/testsuite/gcc.target/arm/ftest-armv6m-thumb.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/arm/ftest-armv6m-thumb.c b/gcc/testsuite/gcc.target/arm/ftest-armv6m-thumb.c
new file mode 100644
index 00000000000..1042761eb33
--- /dev/null
+++ b/gcc/testsuite/gcc.target/arm/ftest-armv6m-thumb.c
@@ -0,0 +1,14 @@
+/* { dg-do run } */
+/* { dg-require-effective-target arm_eabi } */
+/* { dg-require-effective-target arm_arch_v6m_multilib } */
+/* { dg-options "-mthumb" } */
+/* { dg-add-options arm_arch_v6m } */
+
+#include "ftest-support-thumb.h"
+
+int
+main (void)
+{
+ return ftest (ARCH_V6M);
+}
+