repo.or.cz
/
cmake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ENH: do not create a desktop link for CMakeSetup
[cmake.git]
/
Tests
/
SetLang
/
bar.c
blob
f59c318b181d85165828ad14fb3be83b8be4f6e6
1
#include <stdio.h>
2
3
int
foo
();
4
class
A
5
{
6
public
:
7
A
() {
this
->
i
=
foo
();}
8
int
i
;
9
};
10
11
int
main
()
12
{
13
A a
;
14
if
(
a
.
i
==
21
)
15
{
16
printf
(
"passed foo is 21
\n
"
);
17
return
0
;
18
}
19
printf
(
"Failed foo is not 21
\n
"
);
20
return
-
1
;
21
}