1 // RUN: %clang_cc1 -std=c++98 -emit-pch -o %t %s
2 // RUN: %clang_cc1 -std=c++98 -fsyntax-only -include-pch %t %s -Wuninitialized -verify
3 // RUN: %clang_cc1 -std=c++98 -fsyntax-only -include-pch %t %s -Wuninitialized -fdiagnostics-parseable-fixits 2>&1 | FileCheck %s
5 // RUN: %clang_cc1 -std=c++98 -emit-pch -fpch-instantiate-templates -o %t %s
6 // RUN: %clang_cc1 -std=c++98 -fsyntax-only -include-pch %t %s -Wuninitialized -verify
7 // RUN: %clang_cc1 -std=c++98 -fsyntax-only -include-pch %t %s -Wuninitialized -fdiagnostics-parseable-fixits 2>&1 | FileCheck %s
27 // expected-warning@16 {{uninitialized}}
28 // expected-note@15 {{initialize}}
29 // CHECK: fix-it:"{{.*}}":{15:10-15:10}:" = NULL"
31 // expected-warning@22 {{uninitialized}}
32 // expected-note@21 {{initialize}}
33 // CHECK: fix-it:"{{.*}}":{21:10-21:10}:" = 0"
36 f
<int>(); // expected-note {{instantiation}}
37 g
<int>(); // expected-note {{instantiation}}