Improve compatibility with older versions of Windows.
[llvm/msp430.git] / test / FrontendC / 2007-04-11-InlineAsmStruct.c
blob158a16e53665acfe852b52f51b1082962a118558
1 // RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llc
3 struct V { short X, Y; };
4 int bar() {
5 struct V bar;
6 __asm__ volatile("foo %0\n" : "=r"(bar));
7 return bar.X;