Ignore:
Timestamp:
Sep 11, 2017, 8:45:54 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
a54840b, beec62c
Parents:
cd218e8
Message:

forgot to handle and test u8 concatenated strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/literals.c

    rcd218e8 rea0c5e3  
    1010// Created On       : Sat Sep  9 16:34:38 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Sep 11 12:52:11 2017
    13 // Update Count     : 83
     12// Last Modified On : Mon Sep 11 18:08:46 2017
     13// Update Count     : 85
    1414//
    1515
     
    206206        // concatenation
    207207
    208         "\x12" "3";                                                                                     // 2 characters not 3!
    209 
    210         L"abc";
     208        "\x12" "3";                                                                                     // 2 characters not 1!
     209
     210        "a" "b" u8"c";
     211        "a" u8"b" "c";
     212        "a" u8"b" u8"c";
     213        u8"a" "b" u8"c";
     214        u8"a" u8"b" u8"c";
     215
     216        "a" "b" u"c";
     217        "a" u"b" "c";
     218        "a" u"b" u"c";
     219        u"a" "b" u"c";
     220        u"a" u"b" u"c";
     221
     222        "a" "b" U"c";
     223        "a" U"b" "c";
     224        "a" U"b" U"c";
     225        U"a" "b" U"c";
     226        U"a" U"b" U"c";
     227
    211228        "a" "b" L"c";
    212229        "a" L"b" "c";
     230        "a" L"b" L"c";
    213231        L"a" "b" L"c";
    214232        L"a" L"b" L"c";
    215 
    216         u"abc";
    217         "a" "b" u"c";
    218         "a" u"b" "c";
    219         u"a" "b" u"c";
    220         u"a" u"b" u"c";
    221233
    222234// warnings/errors
Note: See TracChangeset for help on using the changeset viewer.