llvm-for-llvmta/tools/clang/test/CXX/dcl.dcl/dcl.link/p7-2.cpp

8 lines
153 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -ast-print -o - %s | FileCheck %s
extern "C" int f(void);
// CHECK: extern "C" int f()
extern "C" int v;
// CHECK: extern "C" int v