You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
271 B
5 lines
271 B
7 months ago
|
// RUN: %clang_cc1 -fsyntax-only -Wunused-const-variable -x c-header -ffreestanding -verify %s
|
||
|
// RUN: %clang_cc1 -fsyntax-only -Wunused-const-variable -x c++-header -ffreestanding -verify %s
|
||
|
// expected-no-diagnostics
|
||
|
static const int unused[] = { 2, 3, 5, 7, 11, 13 };
|