[cfe-commits] r166798 - /cfe/trunk/test/Misc/unprintable.c

Jordan Rose jordan_rose at apple.com
Fri Oct 26 12:34:48 PDT 2012


FWIW this is PR14163, which I think I filed because git blamed Richard.


On Oct 26, 2012, at 12:15 , Daniel Dunbar <daniel at zuster.org> wrote:

> Author: ddunbar
> Date: Fri Oct 26 14:15:56 2012
> New Revision: 166798
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=166798&view=rev
> Log:
> tests: Tweak unprintable.c to try another character which is hopefully even more
> unprintable.
> 
> Modified:
>    cfe/trunk/test/Misc/unprintable.c
> 
> Modified: cfe/trunk/test/Misc/unprintable.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/unprintable.c?rev=166798&r1=166797&r2=166798&view=diff
> ==============================================================================
> --- cfe/trunk/test/Misc/unprintable.c (original)
> +++ cfe/trunk/test/Misc/unprintable.c Fri Oct 26 14:15:56 2012
> @@ -2,16 +2,16 @@
> 
> int main() {
>     int i;
> -    if((i==/*👿*/1));
> +    if((i==/*￾*/1));
> 
> -// CHECK: {{^    if\(\(i==/\*<U\+1F47F>\*/1\)\);}}
> +// CHECK: {{^    if\(\(i==/\*<U\+FFFE>\*/1\)\);}}
> 
> -// CHECK: {{^        ~\^~~~~~~~~~~~~~~~}}
> -// CHECK: {{^       ~ \^               ~}}
> +// CHECK: {{^        ~\^~~~~~~~~~~~~~~}}
> +// CHECK: {{^       ~ \^              ~}}
> 
> -    (void)"Ê👿ô";
> +    (void)"Ê￾ô";
> 
> -// CHECK: {{^    \(void\)"<CA><U\+1F47F><F4>";}}
> +// CHECK: {{^    \(void\)"<CA><U\+FFFE><F4>";}}
> // CHECK: {{^           \^~~~}}
> 
> Â  int n = 0;
> @@ -19,15 +19,15 @@
> // CHECK: {{ int n = 0;}}
> // CHECK: {{^\^}}
> 
> -   "👿                                                              \z";
> +   "￾                                                               \z";
> 
> // CHECK: {{^  \.\.\.\\z";}}
> // CHECK: {{^     \^~}}
> 
> 
> -    /* 👿 */ "👿berhund";
> +    /* ￾ */ "￾berhund";
> 
> -// CHECK: {{^    /\* <U\+1F47F> \*/ "<U\+1F47F>berhund";}}
> -// CHECK: {{^                    \^~~~~~~~~~~~~~~~~~}}
> +// CHECK: {{^    /\* <U\+FFFE> \*/ "<U\+FFFE>berhund";}}
> +// CHECK: {{^                   \^~~~~~~~~~~~~~~~~}}
> 
> }
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121026/1f1d65d6/attachment.html>


More information about the cfe-commits mailing list