Clang Project

clang_source_code/test/Sema/no-warn-unused-const-variables.c
1// RUN: %clang_cc1 -fsyntax-only -Wunused-const-variable -x c-header -ffreestanding -verify %s
2// RUN: %clang_cc1 -fsyntax-only -Wunused-const-variable -x c++-header -ffreestanding -verify %s
3// expected-no-diagnostics
4static const int unused[] = { 2, 3, 5, 7, 11, 13 };
5