blob: 158a16e53665acfe852b52f51b1082962a118558 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llc
2
3struct V { short X, Y; };
4int bar() {
5 struct V bar;
6 __asm__ volatile("foo %0\n" : "=r"(bar));
7 return bar.X;
8}
9