comparison clang/test/CodeGen/2007-04-11-InlineAsmStruct.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children c4bab56944e8
comparison
equal deleted inserted replaced
147:c2174574ed3a 150:1d019706d866
1 // RUN: %clang_cc1 %s -emit-llvm -o -
2
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;
8 }