summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20001009-2.c
diff options
context:
space:
mode:
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();