llvm-for-llvmta/tools/clang/test/Parser/cxx-extern-c-array.cpp

9 lines
196 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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};