diff options
Diffstat (limited to 'test/FrontendC/2002-02-18-StaticData.c')
-rw-r--r-- | test/FrontendC/2002-02-18-StaticData.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/FrontendC/2002-02-18-StaticData.c b/test/FrontendC/2002-02-18-StaticData.c new file mode 100644 index 0000000..76cb0e6 --- /dev/null +++ b/test/FrontendC/2002-02-18-StaticData.c @@ -0,0 +1,13 @@ +// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null + + +double FOO = 17; +double BAR = 12.0; +float XX = 12.0f; + +static char *procnames[] = { + "EXIT" +}; + +void *Data[] = { &FOO, &BAR, &XX }; + |