ChrisOS Research ProjectOperating systems · language systems · graphics · machine emulation
DOCUMENTATION ARCHIVEMAIN BRANCH
ChrisOS/Source reference: APPS/CC/AB.CC

Source reference: APPS/CC/AB.CC

Deterministic source record. The complete textual file is reproduced below; this page does not replace architectural interpretation in the authored chapters.

File identity

Field Value
Path APPS/CC/AB.CC
Lines 18
Bytes 168
SHA-256 86cfe40d53734f646ab05ade463b724c845cbc2df4f439c8fbdd55830863a8de
ChrisOS revision da3df29cb397932c43d32373871fb9380e688ade

Detected syntactic dependencies

Line Include
— No preprocessor include detected.

Detected symbols

Line Symbol
8 main

Complete source

The following block is the complete textual file at the recorded revision. No lines are elided, abbreviated or paraphrased.

struct A {
  int x;
};
struct B {
  int pad;
  int x;
};
int main() {
  A a;
  B b;
  A a2;
  a.x = 1;
  b.pad = 9;
  b.x = 2;
  a2.x = 4;
  return a.x + b.x + a2.x;
}

Role of this record

The atlas guarantees file-by-file traceability. Responsibility, invariants, ownership, concurrency, security, performance and subsystem interactions belong in authored chapters and must cite this file when applicable.

Document record ID: source-86cfe40d53734f64 Reviewed source: da3df29cb397 Class: generated-source-reference