13 lines · c
1// RUN: rm -rf %t2// RUN: %clang_cc1 -fmodules -fno-implicit-modules -x c -I%S/Inputs/asm-goto -emit-module %S/Inputs/asm-goto/module.modulemap -fmodule-name=a -o %t/a.pcm3// RUN: %clang_cc1 -fmodules -fno-implicit-modules -x c -I%S/Inputs/asm-goto -emit-llvm -o - %s -fmodule-file=%t/a.pcm | FileCheck %s4#include "a.h"5 6// CHECK-LABEL: define {{.*}} @foo(7// CHECK: callbr {{.*}} "=r,!i{{.*}}()8// CHECK-NEXT: to label %asm.fallthrough [label %indirect.split]9 10int bar(void) {11 return foo();12}13