repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[ELF] Refine isExported/isPreemptible condition"
[llvm-project.git]
/
lldb
/
test
/
API
/
lang
/
cpp
/
extern_c
/
main.cpp
blob
727ea9255ca7ff83df3ffb0be6ad9b7c45e79361
1
#include <stdio.h>
2
#include <stdint.h>
3
4
extern
"C"
5
{
6
int
foo
();
7
};
8
9
int
foo
()
10
{
11
puts
(
"foo"
);
12
return
2
;
13
}
14
15
int
main
(
int
argc
,
char const
*
argv
[],
char const
*
envp
[])
16
{
17
foo
();
18
return
0
;
//% self.expect("expression -- foo()", substrs = ['2'])
19
}
20