brintos

brintos / llvm-project-archived public Read only

0
0
Text · 526 B · 9b718ca Raw
14 lines · plain
1RUN: rm -rf %t2REQUIRES: x86-registered-target3 4RUN: %clang_cc1 -triple=x86_64-linux-gnu -fmodules-codegen -fmodules-debuginfo \5RUN:            -x c++ -fmodules -emit-module -fmodule-name=foo \6RUN:            %S/Inputs/codegen-nodep/foo.modulemap -o - \7RUN:          | llvm-bcanalyzer - -dump \8RUN:          | FileCheck %s9 10Ensure there are only two modular codegen decls (one for the class, one for the11function - none for the class and function templates).12 13CHECK: <MODULAR_CODEGEN_DECLS op0={{[0-9]+}} op1={{[0-9]+}}/>14