llvm-project/clang/test/Parser/cxx-extern-c-array.cpp

9 lines
196 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
extern "C" int myarray[];
int myarray[12] = {0};
extern "C" int anotherarray[][3];
int anotherarray[2][3] = {1,2,3,4,5,6};