Debian Codegraph @

gcc/testsuite/g++.dg/modules/convop-2_a.H

raw
1 // PR c++/122381
2 // { dg-additional-options "-fmodule-header" }
3 // { dg-module-cmi {} }
4
5 template <typename T> struct color_ref {
6 operator int() const { return 0; }
7 int foo(color_ref x) {
8 return x.operator int();
9 }
10 };