15f799c78e5b1bd8105bab77a0935f27ee808dc97Kostya Serebryany// Linker initialized: 25f799c78e5b1bd8105bab77a0935f27ee808dc97Kostya Serebryanyint getAB(); 35f799c78e5b1bd8105bab77a0935f27ee808dc97Kostya Serebryanystatic int ab = getAB(); 45f799c78e5b1bd8105bab77a0935f27ee808dc97Kostya Serebryany// Function local statics: 55f799c78e5b1bd8105bab77a0935f27ee808dc97Kostya Serebryanyint countCalls(); 65f799c78e5b1bd8105bab77a0935f27ee808dc97Kostya Serebryanystatic int one = countCalls(); 7ce184c8657d7ef3f165fd7561b8f6c06c4ecbe4dAlexey Samsonov// Trivial constructor, non-trivial destructor: 8ce184c8657d7ef3f165fd7561b8f6c06c4ecbe4dAlexey Samsonovint getStructWithDtorValue(); 9ce184c8657d7ef3f165fd7561b8f6c06c4ecbe4dAlexey Samsonovstatic int val = getStructWithDtorValue(); 10