Ignore:
Timestamp:
Jun 26, 2015, 4:00:26 PM (10 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
0df292b, e0ff3e6
Parents:
eb50842 (diff), 1869adf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge pointer to pointer to qualified fix into master

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/examples/constants.c

    reb50842 r937e51d  
     1//
     2// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
     3//
     4// The contents of this file are covered under the licence agreement in the
     5// file "LICENCE" distributed with Cforall.
     6//
     7// constants.c --
     8//
     9// Author           : Richard C. Bilson
     10// Created On       : Wed May 27 17:56:53 2015
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Mon Jun  8 20:44:48 2015
     13// Update Count     : 75
     14//
     15
    116int foo() {
    2     1_234_Ul;
    3     -0_177;
    4     0x_ff_FF_ff_FF;
    5     +9_223_372_036_854_775_807;
    6     12.123_333_E_27;
    7     0X_1.ff_ff_ff_ff_ff_fff_P_1023;
    8     '\0';
    9     '\1_2_3';
    10     L_'\x_ff_ee';
    11     L"a_bc\u_00_40xyz\xff_AA";
    12     "a_bc\\
    13   u_00_40xyz";
     17        1_234_Ul;
     18        -0_177;
     19        017_777_777_777;
     20        037_777_777_777;
     21        0x_7f_FF_ff_FF;
     22        0x_ff_FF_ff_FF;
     23        2_147_483_647;
     24        4_294_967_295;
     25        4_294_967_296;
     26        4_294_967_296U;
     27        0_777_777_777_777_777_777_777;
     28        01_777_777_777_777_777_777_777;
     29        0;
     30        0L;
     31        0LL;
     32        1;
     33        1L;
     34        1LL;
     35        10;
     36        10L;
     37        10LL;
     38        2U;
     39        2UL;
     40        2ULL;
     41        2LU;
     42        2LLU;
     43        0x_7f_FF_ff_FF_ff_FF_ff_FF;
     44        0x_ff_FF_ff_FF_ff_FF_ff_FF;
     45        9_223_372_036_854_775_807;
     46        18_446_744_073_709_551_615;
     47        3.141_59f;
     48        3.14159;
     49        12.123_333_E_27L;
     50        0X_1.ff_ff_ff_ff_ff_fff_P_1023;
     51        '\0';
     52        '\1_2_3';
     53        L'\x_ff_ee';
     54        L_"\x_ff_ee";
     55        L"a_b\r\Qyc\u_00_40  x_y_z\xff_AA";
     56        L_"a_b\r\Qyc\u_00_40\   
     57  x_y_z\xff_AA";
     58        "abc" "def" "ghi";
    1459}
    1560
    1661// Local Variables: //
    17 // compile-command: "../../bin/cfa -std=c99 constants.c" //
     62// tab-width: 4 //
     63// compile-command: "cfa constants.c" //
    1864// End: //
Note: See TracChangeset for help on using the changeset viewer.