File: issue47.c

package info (click to toggle)
chibicc 1.0.23.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,832 kB
  • sloc: ansic: 62,911; sh: 275; makefile: 92
file content (9 lines) | stat: -rwxr-xr-x 148 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#include "test.h"
// a.c
struct S { int n; };

int main(void) {
    printf("%d\n", (struct S){1}.n);
    ASSERT(1, (struct S){1}.n);
    return 0;
}