summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20001009-2.c
diff options
context:
space:
mode:
authoroldham <oldham@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-30 16:59:52 +0000
committeroldham <oldham@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-30 16:59:52 +0000
commit7546a2ac78c0228efb5edec4376232cfe6c7f6c7 (patch)
tree9ba1084a7a1553a8e440074e69216593833e0f46 /gcc/testsuite/gcc.c-torture/execute/20001009-2.c
parent515f38de0632492f33bb46f602d1071c5ef585c0 (diff)
downloadgcc-7546a2ac78c0228efb5edec4376232cfe6c7f6c7.tar.gz
2000-12-30 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.c-torture/execute/20001009-2.c (foo): Test only works for signed char, not default char. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38564 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/20001009-2.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/20001009-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/20001009-2.c b/gcc/testsuite/gcc.c-torture/execute/20001009-2.c
index d67efdad68a..eedc299fbcb 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20001009-2.c
+++ b/gcc/testsuite/gcc.c-torture/execute/20001009-2.c
@@ -8,7 +8,7 @@ int foo()
{
c=1;
asm(""::"r"(c));
- c=(char)a;
+ c=(signed char)a;
}
if (c!=-1)
abort();