aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wcxx-compat-2.c
blob: 5a46fbe4bd597201c8da93b7f344db25813bf2b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* { dg-options "-Wc++-compat" } */

int bool;
int catch;
int char16_t;
int char32_t;
int class;
int const_cast;			/* { dg-warning "keyword" } */
int decltype;
int delete;
int dynamic_cast;		/* { dg-warning "keyword" } */
int explicit;
int export;
int false;
int friend;
int mutable;			/* { dg-warning "keyword" } */
int namespace;
int new;
int operator;
int private;
int protected;
int public;
int reinterpret_cast;		/* { dg-warning "keyword" } */
int static_assert;		/* { dg-warning "keyword" } */
int static_cast;		/* { dg-warning "keyword" } */
int template;
int this;
int throw;
int true;
int try;
int typename;
int typeid;
int using;
int virtual;
int wchar_t;