Changeset 1d61b67


Ignore:
Timestamp:
Jun 16, 2021, 2:43:37 PM (7 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
jacob/cs343-translation, master, new-ast-unique-expr
Children:
798a8b3
Parents:
3814957
Message:

Added attribute case to typedef replacement test.

Location:
tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/typedefRedef-ERR1.txt

    r3814957 r1d61b67  
    1 typedefRedef.cfa:69:25: warning: Compiled
     1typedefRedef.cfa:75:25: warning: Compiled
    22typedefRedef.cfa:4:1 error: Cannot redefine typedef: Foo
    3 typedefRedef.cfa:59:1 error: Cannot redefine typedef: ARR
     3typedefRedef.cfa:65:1 error: Cannot redefine typedef: ARR
  • tests/.expect/typedefRedef.txt

    r3814957 r1d61b67  
    1 typedefRedef.cfa:69:25: warning: Compiled
     1typedefRedef.cfa:75:25: warning: Compiled
  • tests/typedefRedef.cfa

    r3814957 r1d61b67  
    4545typedef int X2;
    4646
     47X2 value  __attribute__((aligned(4 * sizeof(X2))));
     48
     49__attribute__((aligned(4 * sizeof(X2)))) struct rseq_cs {
     50        int foo;
     51};
     52
    4753// xxx - this doesn't work yet due to parsing problems with generic types
    4854// #ifdef __CFA__
Note: See TracChangeset for help on using the changeset viewer.