This website requires JavaScript.
Explore
Help
Sign in
mirrors
/
cosmopolitan
Watch
1
Star
0
Fork
You've already forked cosmopolitan
0
mirror of
https://github.com/jart/cosmopolitan.git
synced
2025-02-12 17:27:56 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
1
b0df6c1fce
cosmopolitan
/
test
/
libc
/
release
/
smokecxx.cc
8 lines
104 B
C++
Raw
Normal View
History
Unescape
Escape
Fix cosmopolitan.h for C++ We now have an integration test that runs the amalgamated sources through a C++ compiler, to prevent the recurrence of such issues. Fixes #38 Thanks @gbbnfhb for the report!
2021-02-01 12:04:44 +00:00
int
main
(
)
{
Remove plenty of makefile misconfigurations
2022-07-21 16:16:38 +00:00
int
*
x
=
new
int
[
32
]
;
x
[
0
]
=
2
;
x
[
1
]
=
2
;
x
[
2
]
=
x
[
0
]
+
x
[
1
]
;
return
x
[
2
]
-
4
;
Fix cosmopolitan.h for C++ We now have an integration test that runs the amalgamated sources through a C++ compiler, to prevent the recurrence of such issues. Fixes #38 Thanks @gbbnfhb for the report!
2021-02-01 12:04:44 +00:00
}
Reference in a new issue
Copy permalink