aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.apple/asm-function-14.c
diff options
context:
space:
mode:
author(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-09 23:20:13 +0000
committer(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-09 23:20:13 +0000
commit4432a4e210b1a98abdebff2f1bd3555af2144d72 (patch)
tree3dd34a8c34793776e40587f22f12789ab230d69d /gcc/testsuite/gcc.apple/asm-function-14.c
parent2e53aef54d8a8913c011eb1567d3b82921628ba3 (diff)
This commit was manufactured by cvs2svn to create tagapple/gcc-5000
'apple-gcc-5000'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/apple-gcc-5000@96220 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.apple/asm-function-14.c')
-rw-r--r--gcc/testsuite/gcc.apple/asm-function-14.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.apple/asm-function-14.c b/gcc/testsuite/gcc.apple/asm-function-14.c
new file mode 100644
index 00000000000..56458390f4c
--- /dev/null
+++ b/gcc/testsuite/gcc.apple/asm-function-14.c
@@ -0,0 +1,11 @@
+/* APPLE LOCAL file CW asm blocks */
+/* { dg-do assemble { target powerpc*-*-* } } */
+/* { dg-options "-fasm-blocks" } */
+
+asm void foo()
+{
+ dcbst r0,r5 /* { dg-error "r0 not allowed for parameter 1" } */
+
+ li r1, kUndefindedConstant /* { dg-error "expression must be absolute" } */
+
+}