blob: cb2b4e37e9d1a4ca7de89e372139e9df89512052 [file] [log] [blame]
David Blaikiee6b7c282017-04-11 20:46:34 +00001RUN: rm -rf %t
2REQUIRES: x86-registered-target
3
4RUN: %clang_cc1 -triple=x86_64-linux-gnu -fmodules-codegen -x c++ -fmodules \
5RUN: -emit-module -fmodule-name=foo \
6RUN: %S/Inputs/codegen-nodep/foo.modulemap -o - \
7RUN: | llvm-bcanalyzer - -dump \
8RUN: | FileCheck %s
9
10Ensure there's only one modular codegen decl - the sentinel plain inline
11function, not any for the function template.
12
13CHECK: <MODULAR_CODEGEN_DECLS op0={{[0-9]+}}/>