test: new codegen tests, rename hello.

This commit is contained in:
Graydon Hoare 2013-07-16 17:42:28 -07:00
parent 53e934c2ab
commit 40f74341f3
8 changed files with 65 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#include <stdlib.h>
size_t foo(size_t x) {
return x * x;
}
extern "C"
void test() {
size_t x = foo(10);
}