diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:02:28 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:02:28 +0000 | 
| commit | 7442d6faa2719e4e7d33a7021c406c5a4facd74d (patch) | |
| tree | c72b9241553fc9966179aba84f90f17bfa9235c3 /test/CodeGenCXX/modules-ts.cppm | |
| parent | b52119637f743680a99710ce5fdb6646da2772af (diff) | |
Notes
Diffstat (limited to 'test/CodeGenCXX/modules-ts.cppm')
| -rw-r--r-- | test/CodeGenCXX/modules-ts.cppm | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGenCXX/modules-ts.cppm b/test/CodeGenCXX/modules-ts.cppm index da3bcb2174a7..90f6b5319eb6 100644 --- a/test/CodeGenCXX/modules-ts.cppm +++ b/test/CodeGenCXX/modules-ts.cppm @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fmodules-ts -std=c++1z -triple=x86_64-linux-gnu -emit-module-interface %s -o %t.pcm +// RUN: %clang_cc1 -fmodules-ts -std=c++1z -triple=x86_64-linux-gnu -fmodules-codegen -emit-module-interface %s -o %t.pcm  // RUN: %clang_cc1 -fmodules-ts -std=c++1z -triple=x86_64-linux-gnu %t.pcm -emit-llvm -o - | FileCheck %s  module FooBar; @@ -8,6 +8,9 @@ export {    int f() { return 0; }  } +// CHECK-LABEL: define weak_odr void @_Z2f2v( +inline void f2() { } +  // FIXME: Emit global variables and their initializers with this TU.  // Emit an initialization function that other TUs can call, with guard variable.  | 
