Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2007-04-13-InlineAsmUnion2.c
blob9e9d6ba64117aef7d66974154da0145d916dd922
1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
3 union U { int x; char* p; };
4 void foo(void) {
5 union U bar;
6 // CHECK: call void asm
7 __asm__ volatile("foo %0\n" :: "r"(bar));