summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/examples/scan_properties/main.cxx
blob: 81e93f47935563f5872eeb564a7cff16ebc80581 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#if SCAN_AT_TARGET_LEVEL
#  ifndef CMAKE_SCANNED_THIS_SOURCE
#    error "This file should have been scanned"
#  endif
#else
#  ifdef CMAKE_SCANNED_THIS_SOURCE
#    error "This file should not have been scanned"
#  endif
#endif

int join();

int main(int argc, char** argv)
{
  return join();
}