File: main.cc

package info (click to toggle)
aspectc%2B%2B 1%3A2.3%2Bgit20221129-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,988 kB
  • sloc: cpp: 109,125; ansic: 7,644; sh: 2,262; makefile: 1,312; pascal: 634; python: 402; xml: 349
file content (15 lines) | stat: -rw-r--r-- 473 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>

// this should not result in an error
#include "a.h"
#include "b.h"

int main () {
  C c;
  c._var = 0; // to avoid warnings
  printf ("PragmaOnce: check how the include expander handles pragma once\n");
  printf ("==============================================================\n");
  printf ("Everything is fine if it compiles without warnings or errors\n");
  printf ("==============================================================\n");
  return 0;
}