ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
ctor
deferred_resn
demangler
enum
forall-pointer-decay
gc_noraii
jacob/cs343-translation
jenkins-sandbox
memory
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
string
with_gc
Last change
on this file since cd623a4 was 59db689, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago |
constant types, first attempt
|
-
Property mode
set to
100644
|
File size:
1008 bytes
|
Rev | Line | |
---|
[86bd7c1f] | 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
|
---|
[59db689] | 12 | // Last Modified On : Sat Jun 6 15:08:43 2015
|
---|
| 13 | // Update Count : 63
|
---|
[86bd7c1f] | 14 | //
|
---|
| 15 |
|
---|
[bdd516a] | 16 | int foo() {
|
---|
[86bd7c1f] | 17 | 1_234_Ul;
|
---|
| 18 | -0_177;
|
---|
[59db689] | 19 | 017777777777;
|
---|
| 20 | 037777777777;
|
---|
| 21 | 0x_7f_FF_ff_FF;
|
---|
[86bd7c1f] | 22 | 0x_ff_FF_ff_FF;
|
---|
[59db689] | 23 | 2_147_483_647;
|
---|
| 24 | 4_294_967_295;
|
---|
| 25 | 0777777777777777777777;
|
---|
| 26 | 01777777777777777777777;
|
---|
| 27 | 0x_7f_FF_ff_FF_ff_FF_ff_FF;
|
---|
| 28 | 0x_ff_FF_ff_FF_ff_FF_ff_FF;
|
---|
| 29 | 9_223_372_036_854_775_807;
|
---|
| 30 | 18_446_744_073_709_551_615;
|
---|
| 31 | 12.123_333_E_27L;
|
---|
[86bd7c1f] | 32 | 0X_1.ff_ff_ff_ff_ff_fff_P_1023;
|
---|
| 33 | '\0';
|
---|
| 34 | '\1_2_3';
|
---|
[59db689] | 35 | L'\x_ff_ee';
|
---|
| 36 | L_"\x_ff_ee";
|
---|
| 37 | L"a_b\r\Qyc\u_00_40 x_y_z\xff_AA";
|
---|
| 38 | L_"a_b\r\Qyc\u_00_40\
|
---|
| 39 | x_y_z\xff_AA";
|
---|
| 40 | "abc" "def" "ghi";
|
---|
[bdd516a] | 41 | }
|
---|
| 42 |
|
---|
| 43 | // Local Variables: //
|
---|
[86bd7c1f] | 44 | // tab-width: 4 //
|
---|
| 45 | // compile-command: "cfa constants.c" //
|
---|
[bdd516a] | 46 | // End: //
|
---|
Note:
See
TracBrowser
for help on using the repository browser.