repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git]
/
test
/
tools
/
llvm-pdbutil
/
Inputs
/
UsingNamespaceTest.cpp
blob
403ada1771318ba12294577c4ff529db8eef5d47
1
// Compile with "cl /c /Zi /GR- UsingNamespaceTest.cpp"
2
// Link with "link UsingNamespaceTest.obj /debug /nodefaultlib /entry:main"
3
4
namespace
NS
{
5
int
foo
() {
return
1
; }
6
}
7
8
using namespace
NS
;
9
int
main
(
int
argc
,
char
**
argv
) {
10
return
foo
();
11
}