blob: 49741c68ee6e7b53927613245829f393ddfa6d69 [file] [log] [blame]
Dan Gohman8a3f6442009-12-05 00:02:37 +00001// RUN: %llvmgcc %s -S -emit-llvm -o - | llc
Chris Lattnerefebe442007-04-11 23:45:16 +00002
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