do not edit — generated by btf.
git.druid.rocksindexdruid520nscctest/t50_include_main.nsc

test/t50_include_main.nsc


/* regression test: include "path.nsh" splices a shared prototype in,
 * used from the calling file (this one) and the defining file
 * (t50_include_impl.nsc) both -- exactly the pattern that surfaced
 * the linkage-upgrade bug in jscope2 (a bare prototype followed later
 * by the real `global` definition was staying 'local' forever). */
include "t50_include.nsh";
 
global i32 main(void) {
	return sq(6) + 6;
}
powered by btf.