# Process this file with autom4te to create testsuite. -*- Autotest -*-
# Copyright (C) 2025 Sergey Poznyakoff
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3, or (at
# your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
CFLOW_OPT([-i x],
[CFLOW_TEST([numeric constants],
[num],
[int u1 = 10;
unsigned u2 = 10u;
unsigned long u3 = 10ul;
unsigned long long u4 = 10ull;
long u5 = 10l;
unsigned long u6 = 10lu;
unsigned long long u7 = 10llu;
unsigned U2 = 10U;
unsigned long U3 = 10UL;
unsigned long long U4 = 10ULL;
long U5 = 10L;
unsigned long U6 = 10LU;
unsigned long long U7 = 10LLU;
long s1 = -10l;
long s2 = -10ll;
long S1 = -10L;
long S2 = -10LL;
int o1 = 010;
unsigned o2 = 010u;
unsigned long o3 = 010ul;
unsigned long long o4 = 010ull;
long o5 = 010l;
unsigned long o6 = 010lu;
unsigned long long o7 = 010llu;
unsigned O2 = 010U;
unsigned long O3 = 010UL;
unsigned long long O4 = 010ULL;
long O5 = 010L;
unsigned long O6 = 010LU;
unsigned long long O7 = 010LLU;
unsigned x2 = 0x10u;
unsigned long x3 = 0x10ul;
unsigned long long x4 = 0x10ull;
long x5 = 0x10l;
unsigned long x6 = 0x10lu;
unsigned long long x7 = 0x10llu;
unsigned X2 = 0x10U;
unsigned long X3 = 0x10UL;
unsigned long long X4 = 0x10ULL;
long X5 = 0x10L;
unsigned long X6 = 0x10LU;
unsigned long long X7 = 0x10LLU;
],
[O2
O3
O4
O5
O6
O7
S1
S2
U2
U3
U4
U5
U6
U7
X2
X3
X4
X5
X6
X7
o1
o2
o3
o4
o5
o6
o7
s1
s2
u1
u2
u3
u4
u5
u6
u7
x2
x3
x4
x5
x6
x7
])
])