brintos

brintos / llvm-project-archived public Read only

0
0
Text · 353 B · 945cfea Raw
12 lines · plain
1// RUN: %clang_cc1 -std=c++20 -triple x86_64-linux %s -emit-module-interface -o %t2// RUN: %clang_cc1 -std=c++20 -triple x86_64-linux -x pcm %t -emit-llvm -o - | FileCheck %s3 4export module M;5 6// CHECK: @_ZW1M1a ={{.*}} constant i32 17const int a = 1;8// CHECK: @_ZW1M1b ={{.*}} constant i32 29export const int b = 2;10 11export int f() { return a + b; }12