convert bitfield initializer tarvals before using them
[libfirm] / ir / be / test / nulladd.c
index 624c3c7..5f4deda 100644 (file)
@@ -1,8 +1,8 @@
 #include <stdlib.h>
 #include <stdio.h>
 
-static const int *a = (int *)0x10;
-static const int *b = (int *)0x20;
+static int * const a = (int *)0x10;
+static int * const b = (int *)0x20;
 
 int main() {
        printf("%p\n", b - a);