summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/examples/scan_properties/module.cxx
blob: fe84261d5f6791edc45033bd7ef15f9c0bc8ae80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#if SCANNING_CONTROL
#  ifndef CMAKE_SCANNED_THIS_SOURCE
#    error "This file should have been scanned"
#  endif
#endif

export module M;

export int from_module()
{
  return 0;
}