Changeset 5ead9f9


Ignore:
Timestamp:
Aug 17, 2016, 8:44:06 AM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
926af74
Parents:
cbaee0d
Message:

add copyright notice to test files

Location:
src/tests
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • src/tests/declarationErrors.c

    rcbaee0d r5ead9f9  
     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// declarationErrors.c --
     8//
     9// Author           : Peter A. Buhr
     10// Created On       : Wed Aug 17 08:23:43 2016
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Wed Aug 17 08:27:15 2016
     13// Update Count     : 2
     14//
     15
    116const short static int volatile x4;
    217const static volatile short int x4;
    3 static short int volatile static const x9;              // duplicate static
    4 struct { int i; } const static volatile static x18;     // duplicate static
     18static short int volatile static const x9;                              // duplicate static
     19struct { int i; } const static volatile static x18;             // duplicate static
    520struct { int i; } const static volatile static volatile x19; // duplicate static & volatile
    621typedef int Int;
    7 static Int volatile static const x28;                   // duplicate static
     22static Int volatile static const x28;                                   // duplicate static
    823
    9 const static inline const volatile int f01();           // duplicate const
    10 volatile inline const volatile static int f02();        // duplicate volatile
    11 const inline const volatile int static f03();           // duplicate const
    12 volatile inline static const volatile int f04();        // duplicate volatile
    13 const static const inline volatile int f05();           // duplicate const
    14 volatile static const volatile inline int f06();        // duplicate volatile
    15 const static const volatile int inline f07();           // duplicate const
    16 volatile static const int inline volatile f08();        // duplicate volatile
     24const static inline const volatile int f01();                   // duplicate const
     25volatile inline const volatile static int f02();                // duplicate volatile
     26const inline const volatile int static f03();                   // duplicate const
     27volatile inline static const volatile int f04();                // duplicate volatile
     28const static const inline volatile int f05();                   // duplicate const
     29volatile static const volatile inline int f06();                // duplicate volatile
     30const static const volatile int inline f07();                   // duplicate const
     31volatile static const int inline volatile f08();                // duplicate volatile
    1732
    1833//Dummy main
     
    2136        return 0;
    2237}
     38
     39// Local Variables: //
     40// tab-width: 4 //
     41// compile-command: "cfa declarationErrors.c" //
     42// End: //
  • src/tests/declarationSpecifier.c

    rcbaee0d r5ead9f9  
     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//
     15
    116typedef short int Int;
    217
     
    7893        return 0;
    7994}
     95
     96// Local Variables: //
     97// tab-width: 4 //
     98// compile-command: "cfa declarationSpecifier.c" //
     99// End: //
  • src/tests/dtor-early-exit.c

    rcbaee0d r5ead9f9  
     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// dtor-early-exit.c --
     8//
     9// Author           : Rob Schluntz
     10// Created On       : Wed Aug 17 08:26:25 2016
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Wed Aug 17 08:29:37 2016
     13// Update Count     : 2
     14//
     15
    116#include <fstream>
    217#include <stdlib>
     
    215230        h();
    216231}
     232
     233// Local Variables: //
     234// tab-width: 4 //
     235// compile-command: "cfa dtor-early-exit" //
     236// End: //
  • src/tests/functions.c

    rcbaee0d r5ead9f9  
     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// functions.c --
     8//
     9// Author           : Peter A. Buhr
     10// Created On       : Wed Aug 17 08:39:58 2016
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Wed Aug 17 08:40:52 2016
     13// Update Count     : 1
     14//
     15
    116// ANSI function definitions
    217
     
    165180// Local Variables: //
    166181// tab-width: 4 //
     182// compile-command: "cfa functions.c" //
    167183// End: //
  • src/tests/gccExtensions.c

    rcbaee0d r5ead9f9  
    1010// Created On       : Sun Aug 14 17:28:17 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Aug 16 14:49:47 2016
    13 // Update Count     : 6
     12// Last Modified On : Wed Aug 17 08:34:57 2016
     13// Update Count     : 7
    1414//
    1515
     
    2222
    2323        static int y asm( "yy" );
    24 //      static * int z asm( "zz" );                                                     // CFA declaration
     24#ifdef __CFA__
     25        static * int z asm( "zz" );                                                     // CFA declaration
     26#endif // __CFA__
    2527
    2628        int src;
  • src/tests/identFuncDeclarator.c

    rcbaee0d r5ead9f9  
     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// identFuncDeclarator.c --
     8//
     9// Author           : Peter A. Buhr
     10// Created On       : Wed Aug 17 08:36:34 2016
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Wed Aug 17 08:37:06 2016
     13// Update Count     : 1
     14//
     15
    116int main() {
    217        int f1;
     
    97112        int (* const(* const f81)(int))();
    98113}
     114
     115// Local Variables: //
     116// tab-width: 4 //
     117// compile-command: "cfa identFuncDeclarator.c" //
     118// End: //
  • src/tests/identParamDeclarator.c

    rcbaee0d r5ead9f9  
     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// identParamDeclarator.c --
     8//
     9// Author           : Peter A. Buhr
     10// Created On       : Wed Aug 17 08:37:56 2016
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Wed Aug 17 08:38:42 2016
     13// Update Count     : 1
     14//
     15
    116int fred(
    217        int f1,
     
    147162        return 0;
    148163}
     164
     165// Local Variables: //
     166// tab-width: 4 //
     167// compile-command: "cfa identParamDeclarator.c" //
     168// End: //
  • src/tests/variableDeclarator.c

    rcbaee0d r5ead9f9  
    1 //Variable declarations test
     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// variableDeclarator.c --
     8//
     9// Author           : Peter A. Buhr
     10// Created On       : Wed Aug 17 08:41:42 2016
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Wed Aug 17 08:42:21 2016
     13// Update Count     : 1
     14//
     15
     16// Variable declarations test
    217int f1;
    318int (f2);
     
    164179        return 0;
    165180}
     181
     182// Local Variables: //
     183// tab-width: 4 //
     184// compile-command: "cfa variableDeclarator.c" //
     185// End: //
Note: See TracChangeset for help on using the changeset viewer.