brintos

brintos / llvm-project-archived public Read only

0
0
Text · 200 B · 4bae521 Raw
10 lines · c
1// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s2 3struct V { short X, Y; };4int bar(void) {5  struct V bar;6  // CHECK: call void asm7  __asm__ volatile("foo %0\n" :: "r"(bar));8  return bar.X;9}10