diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-14 19:02:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-14 19:02:27 +0000 |
commit | 995d7aeefafbe4a365ea91e087d48c221d137c01 (patch) | |
tree | ec21b104f7b540b1f5920d7a9e131ba60912dc4f /test | |
parent | ec26d4d314a15166a34920de824969c0ec43960f (diff) | |
download | llvm-995d7aeefafbe4a365ea91e087d48c221d137c01.tar.gz llvm-995d7aeefafbe4a365ea91e087d48c221d137c01.tar.bz2 llvm-995d7aeefafbe4a365ea91e087d48c221d137c01.tar.xz |
Remove long dead file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/runtime.c | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/test/runtime.c b/test/runtime.c deleted file mode 100644 index 0db5e76023..0000000000 --- a/test/runtime.c +++ /dev/null @@ -1,104 +0,0 @@ -#include <stdio.h> -#include <sys/types.h> - -void -ll__main() -{ /* Empty version of GCC's initialization function */ -} - -void -printSByte(char c) -{ - putchar(c); -} - -void -printUByte(unsigned char c) -{ - putchar(c); -} - -void -printShort(short i) -{ - printf("%d", i); -} - -void -printUShort(unsigned short i) -{ - printf("%d", i); -} - -void -printInt(int i) -{ - printf("%d", i); -} - -void -printUInt(unsigned int i) -{ - printf("%d", i); -} - -void -printLong(int64_t l) -{ - printf("%d", l); -} - -void -printULong(uint64_t l) -{ - printf("%d", l); -} - -void -printString(const char* str) -{ - printf("%s", str); -} - -void -printFloat(float f) -{ - printf("%g", f); -} - -void -printDouble(double d) -{ - printf("%g", d); -} - -void -printPointer(void* p) -{ - printf("0x%x", p); -} - -#undef TEST_RUNTIME -#ifdef TEST_RUNTIME -int -main(int argc, char** argv) -{ - int i; - printString("argc = "); - printLong(argc); - printString(" = (as float) "); - printFloat(argc * 1.0); - printString(" = (as double) "); - printDouble(argc * 1.0); - for (i=0; i < argc; i++) - { - printString("\nargv["); - printLong(i); - printString("] = "); - printString(argv[i]); - printString("\t@ "); - printPointer(argv[i]); - } - printString("\n"); -} -#endif |