brintos

brintos / llvm-project-archived public Read only

0
0
Text · 304 B · 1dcdd7a Raw
16 lines · c
1// struct ABC is expensive to copy and should be2// passed as a const reference.3struct ABC {4  ABC(const ABC&);5  int get(int) const;6};7 8 9int f1(int n,              const ABC& v1,   const ABC& v2); // line 910 11int f1(int n, ABC v1); // line 1112 13 14 15void f2(        int n,       const ABC& v2); // line 1516