Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/Wc99-c11-compat-4.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-std=gnu99 -pedantic-errors -Wno-c99-c11-compat" } */ | |
3 | |
4 struct S { int i; struct { int a; }; }; | |
5 _Noreturn void foo (void); | |
6 typedef int A; | |
7 typedef int A; | |
8 _Thread_local int i; | |
9 _Static_assert (1, "foo"); | |
10 _Atomic int a; | |
11 _Alignas (int) int aa; | |
12 enum e { E = _Alignof (double) }; | |
13 | |
14 void | |
15 fn (int n) | |
16 { | |
17 _Generic (n, int: 0); | |
18 } |