Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/declarationSpecifier.c

    r5ead9f9 re757af2  
    1 //
    2 // Cforall Version 1.0.0 Copyright (C) 2016 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 // declarationSpecifier.c --
    8 //
    9 // Author           : Peter A. Buhr
    10 // Created On       : Wed Aug 17 08:21:04 2016
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Aug 17 08:24:33 2016
    13 // Update Count     : 2
    14 //
     1typedef short int Int;
    152
    16 typedef short int Int;
    173
    184const short int volatile x1;
    195static const short int volatile x2;
    206const static short int volatile x3;
     7const short static int volatile x4;
    218const static volatile short int x4;
    229const short int static volatile x5;
     
    2411const short volatile int static x7;
    2512short int volatile static const x8;
     13static short int volatile static const x9;              // duplicate static
    2614
    2715const volatile struct { int i; } x10;
     
    3321struct { int i; } const static volatile x16;
    3422struct { int i; } const volatile static x17;
     23struct { int i; } const static volatile static x18;     // duplicate static
     24struct { int i; } const static volatile static volatile x19; // duplicate static & volatile
    3525
    3626const Int volatile x20;
     
    4232const volatile Int static x26;
    4333Int volatile static const x27;
     34static Int volatile static const x28;                   // duplicate static
    4435
    4536const volatile struct { Int i; } x29;
     
    5142struct { Int i; } const static volatile x35;
    5243struct { Int i; } const volatile static x36;
     44
     45
     46const static inline const volatile int f01();           // duplicate const
     47volatile inline const volatile static int f02();        // duplicate volatile
     48const inline const volatile int static f03();           // duplicate const
     49volatile inline static const volatile int f04();        // duplicate volatile
     50const static const inline volatile int f05();           // duplicate const
     51volatile static const volatile inline int f06();        // duplicate volatile
     52const static const volatile int inline f07();           // duplicate const
     53volatile static const int inline volatile f08();        // duplicate volatile
    5354
    5455static inline const volatile int f11();
     
    9394        return 0;
    9495}
    95 
    96 // Local Variables: //
    97 // tab-width: 4 //
    98 // compile-command: "cfa declarationSpecifier.c" //
    99 // End: //
Note: See TracChangeset for help on using the changeset viewer.