Skip to content
Snippets Groups Projects
Select Git revision
  • b106fb263d5d4f2a000cf9ea897310dcb18aec66
  • master default
  • labcomm2006
  • typedefs
  • anders.blomdell
  • typeref
  • pragma
  • compiler-refactoring
  • labcomm2013
  • v2014.4
  • v2006.0
  • v2014.3
  • v2014.2
  • v2014.1
  • v2014.0
  • v2013.0
16 results

nested.lc

Blame
  • Forked from Anders Blomdell / LabComm
    464 commits behind the upstream repository.
    nested.lc 701 B
    sample int s_array_array_array[1][1, 1][1, 1, 1];
    sample struct { 
      int b[1][1, 1]; 
      int c[1][_, 1, _][_,_]; 
    } struct_array_ss[1];
    typedef int int_t;
    typedef int int_array_t[1][2][3,4];
    typedef struct { int a; } struct_t;
    typedef struct { int a; } struct_array_t[2];
    typedef struct { struct { int a; } a; } struct_struct_t;
    
    sample int int_s;
    sample int int_array_s[1][_, 3, _][5];
    sample struct { int a; double bcd; } struct_s;
    sample struct { int a; } struct_array_s[2];
    sample struct { struct { int a; } a; } struct_struct_s;
    
    sample int_t int_t_s;
    sample int_array_t int_array_t_s;
    sample struct_t struct_t_s;
    sample struct_array_t struct_array_t_s;
    sample struct_struct_t struct_struct_t_s;