Files
acceptance-tests
data
debian
docs
external
Newtonsoft.Json
api-doc-tools
api-snapshot
aspnetwebstack
bdwgc
binary-reference-assemblies
bockbuild
boringssl
cecil
cecil-legacy
corefx
corert
helix-binaries
ikdasm
ikvm
illinker-test-assets
linker
llvm-project
clang
clang-tools-extra
change-namespace
clang-apply-replacements
clang-move
clang-query
clang-reorder-fields
clang-tidy
clang-tidy-vs
clangd
docs
include-fixer
modularize
pp-trace
test
Unit
change-namespace
clang-apply-replacements
clang-move
Inputs
database_template.json
enum.h
function_test.cpp
function_test.h
helper_decls_test.cpp
helper_decls_test.h
macro_helper_test.cpp
macro_helper_test.h
multiple_class_test.cpp
multiple_class_test.h
template_class_test.cpp
template_class_test.h
test.cpp
test.h
type_alias.h
var_test.cpp
var_test.h
move-class.cpp
move-enum-decl.cpp
move-function.cpp
move-multiple-classes.cpp
move-template-class.cpp
move-type-alias.cpp
move-used-helper-decls.cpp
move-var.cpp
no-move-macro-helpers.cpp
clang-query
clang-reorder-fields
clang-tidy
clangd
include-fixer
modularize
pp-trace
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
tool-template
unittests
.arcconfig
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
LICENSE.TXT
README.txt
compiler-rt
eng
libcxx
libcxxabi
libunwind
lld
lldb
llvm
nuget
openmp
polly
Directory.Build.props
Directory.Build.targets
NuGet.config
azure-pipelines.yml
build.cmd
build.sh
dir.common.props
global.json
llvm.proj
mxe-Win64.cmake.in
nuget-buildtasks
nunit-lite
roslyn-binaries
rx
xunit-binaries
how-to-bump-roslyn-binaries.md
ikvm-native
llvm
m4
man
mcs
mono
msvc
netcore
po
runtime
samples
scripts
support
tools
COPYING.LIB
LICENSE
Makefile.am
Makefile.in
NEWS
README.md
acinclude.m4
aclocal.m4
autogen.sh
code_of_conduct.md
compile
config.guess
config.h.in
config.rpath
config.sub
configure.REMOVED.git-id
configure.ac.REMOVED.git-id
depcomp
install-sh
ltmain.sh.REMOVED.git-id
missing
mkinstalldirs
mono-uninstalled.pc.in
test-driver
winconfig.h

12 lines
182 B
C
Raw Normal View History

namespace a {
extern int kGlobalInt;
extern const char *const kGlobalStr;
}
int kEvilInt = 2;
inline void f1() {
int kGlobalInt = 3;
const char *const kGlobalStr = "Hello2";
}