blob: 7289c6d065c8f987ec995f090aa92a97c9c3e5dc [file] [log] [blame]
// Test throwing a constant int
#include <stdio.h>
static void foo() { throw 5; }
int main() {
try {
foo();
} catch (...) {
printf("All ok\n");
return 0;
}
return 1;
}