You've already forked llvm-project
mirror of
https://github.com/encounter/llvm-project.git
synced 2026-03-30 11:27:19 -07:00
cfb29e4a54
Commit 82b47b2978 changes the way the stdlib.h
header is structured which seems to cause strange lookup failures in the modules
build. This updates a few failing tests so that they pass with the new
behavior of stdlib.h.
See the discussion in https://reviews.llvm.org/rG82b47b2978405f802a33b00d046e6f18ef6a47be
12 lines
149 B
C++
12 lines
149 B
C++
#include <cstdlib>
|
|
|
|
int counter = 0;
|
|
|
|
void inc_counter() { ++counter; }
|
|
|
|
void do_abort() { std::abort(); }
|
|
|
|
int main() {
|
|
return 0; // break here
|
|
}
|