summaryrefslogtreecommitdiff
path: root/clang/test/Parser/cxx-extern-c-array.cpp
blob: 14912fd1067b7c6bb2f96b3137922e3d835b9911 (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -fsyntax-only -verify %s

extern "C" int myarray[];
int myarray[12] = {0};

extern "C" int anotherarray[][3];
int anotherarray[2][3] = {1,2,3,4,5,6};