blob: f0e27ec04cd571e118ff3babb44e0575dc08592b [file] [log] [blame]
// { dg-module-do run }
// { dg-additional-options {-fmodules-ts -Wno-pedantic} }
module;
# 5 __FILE__ 1
extern int counter;
# 7 "" 2
export module One;
export class Dyn
{
int i;
public:
Dyn () : i (++counter) {}
operator int () const { return i; }
};
export Dyn one;