Debian Codegraph @

gcc/testsuite/g++.dg/modules/stdio-1_a.H

raw
1 // { dg-module-do run }
2 // { dg-additional-options "-fmodule-header -fdump-lang-module" }
3 // { dg-module-cmi {} }
4
5 #ifndef _PROXY_STDIO_H
6 #define _PROXY_STDIO_H
7 /* Proxy stdio.h, because command line in flux. */
8 #include <stdio.h>
9
10 #endif
11 // There should be *lots* of depsets (209 for glibc today)
12 // { dg-final { scan-lang-dump {Writing section:60 } module } }
13 // { dg-final { scan-lang-dump {Depset:0 decl entity:[0-9]* function_decl:'(::std)?::printf'} module } }
14 // { dg-final { scan-lang-dump {Depset:1 binding namespace_decl:'::printf'} module } }