[sledge] Adjust tests to match harnesses

Reviewed By: ngorogiannis

Differential Revision: D17801945

fbshipit-source-id: 0f984e013
master
Josh Berdine 5 years ago committed by Facebook Github Bot
parent b2f90a3994
commit 8097f1a6df

@ -22,3 +22,9 @@ SWAPWORD:
result = (result << 16) | (result >> 16); result = (result << 16) | (result >> 16);
goto* codetable[*(opcodes++)]; goto* codetable[*(opcodes++)];
} }
int main() {
char opcodes[10];
return fn(opcodes);
}

@ -5,9 +5,10 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
int main(int argc, const char* argv[]) { int main() {
int n;
int a = 0; int a = 0;
if (argc > 0) { if (n > 0) {
int b = 1; int b = 1;
}; };
return 0; return 0;

Loading…
Cancel
Save