Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.c-torture / compile / 20010112-1.c
blob69bbe169e3101bb9cc2a31e0455fd9275e3f7a7e
1 /* Test that putting an initialized variable in a register works. */
3 #ifdef __i386__
4 #define REGISTER asm ("eax")
5 #elif defined (__arm__)
6 #define REGISTER asm ("r0")
7 #else
8 /* Put examples for other architectures here. */
9 #define REGISTER
10 #endif
12 void f() {
13 register int i REGISTER = 3;