Debian Codegraph @

gcc/testsuite/g++.dg/warn/pragma-system_header2.C

raw
1 // PR c++/30500
2 // { dg-options "-Wconversion" }
3
4 #include "pragma-system_header2.h"
5
6
7 void f()
8 {
9 g<int>();
10 h<int>();
11 }
12
13 // { dg-warning "conversion" "" { target *-*-* } 2 }
14 // { dg-warning "conversion" "" { target *-*-* } 5 }
15
16 // I couldn't find another way to make this work.
17 // { dg-prune-output "In file included from" }