aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/execute/pr34154.c
blob: cd7bfc6b00136a4e90794d151d58f33599486d8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
int foo( unsigned long long aLL )
{
    switch( aLL )
    {
        case 1000000000000000000ULL ... 9999999999999999999ULL : return 19 ; 
        default                                 : return 20 ;
    };
};
extern void abort (void);
int main()
{
    unsigned long long aLL = 1000000000000000000ULL;
    if (foo (aLL) != 19)
	abort ();
    return 0;
}