summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/stdmodules_deps/src/bar.mpp
blob: 001cd7c2db29a78764b7723c1c64169b2495d479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export module bar;

import std;

export auto my_sum2(std::size_t a, std::size_t b) -> std::size_t;

#if defined(__GNUC__) && !defined(__clang__)
inline
#else
module :private;
#endif
    auto my_sum2(std::size_t a, std::size_t b) -> std::size_t {
  return a + a + b + b;
}