no-warn-unused-const-variables.c 271 Bytes Raw Blame History Permalink 1 2 3 4 // 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 };