From: simonmar Date: Fri, 10 Aug 2001 13:55:58 +0000 (+0000) Subject: [project @ 2001-08-10 13:55:58 by simonmar] X-Git-Tag: Approximately_9120_patches~1283 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f5fc47d16726ad8cdee2e81bb0e13a1825988fb7;p=ghc-hetmet.git [project @ 2001-08-10 13:55:58 by simonmar] Test for identifiers containing non-ASCII characters. --- diff --git a/ghc/tests/codeGen/should_run/cg050.hs b/ghc/tests/codeGen/should_run/cg050.hs new file mode 100644 index 0000000..e505938 --- /dev/null +++ b/ghc/tests/codeGen/should_run/cg050.hs @@ -0,0 +1,10 @@ +{-# OPTIONS -fvia-C #-} + +-- test that the code generator can correctly compile code with +-- non-ASCII characters in it. (5.00 couldn't). + +module Main (main, héllö_wòrld) where + +main = héllö_wòrld + +héllö_wòrld = print "héllö_wòrld\n" diff --git a/ghc/tests/codeGen/should_run/cg050.stdout b/ghc/tests/codeGen/should_run/cg050.stdout new file mode 100644 index 0000000..dd9562d --- /dev/null +++ b/ghc/tests/codeGen/should_run/cg050.stdout @@ -0,0 +1 @@ +"h\233ll\246_w\242rld\n"