Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
533a6256a3fa9d362666519ecae90f7299911497
/
.
/
Tests
/
SetLang
/
bar.c
blob: b934356fa11cd11dbd15469e968328af1b681c2d [
file
] [
log
] [
blame
]
#include
<stdio.h>
int
foo
();
class
A
{
public
:
A
()
{
this
->
i
=
foo
();
}
int
i
;
};
int
main
()
{
A a
;
if
(
a
.
i
==
21
)
{
printf
(
"passed foo is 21\n"
);
return
0
;
}
printf
(
"Failed foo is not 21\n"
);
return
-
1
;
}