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