1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o - | opt -O3 | llc | \ 2f4a2713aSLionel Sambuc // RUN: not grep _foo2 3f4a2713aSLionel Sambuc 4f4a2713aSLionel Sambuc void foo() __asm__("foo2"); 5f4a2713aSLionel Sambuc bar()6f4a2713aSLionel Sambucvoid bar() { 7f4a2713aSLionel Sambuc foo(); 8f4a2713aSLionel Sambuc } 9