diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-08-19 07:34:40 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-08-19 07:34:40 +0000 |
commit | 912f9e817e0492ddc2a1c6ee4f41a427b43cf440 (patch) | |
tree | 335fa7ed68bccaabc938e142eabc167ac296372e /gcc/testsuite/gcc.dg/splet-1.c | |
parent | d3739bcdc296c9e9dbebea8ef89de4479bdfb4ad (diff) | |
download | gcc-912f9e817e0492ddc2a1c6ee4f41a427b43cf440.tar.gz |
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14840 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/splet-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/splet-1.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/splet-1.c b/gcc/testsuite/gcc.dg/splet-1.c new file mode 100644 index 00000000000..03dbb2e3a3c --- /dev/null +++ b/gcc/testsuite/gcc.dg/splet-1.c @@ -0,0 +1,21 @@ +/* Test inl-sparc.h. */ + +/* { dg-do run { target sparclet-*-* } } */ +/* { dg-options -mcpu=sparclet } */ + +#include <inl-sparc.h> + +main () +{ + int a,b; + + a = scan (1, 2); + if (a != 3) + abort (); + + b = shuffle (4, 5); + if (b != 6) + abort (); + + exit (0); +} |