blob: c91e2fae202578df3ef58bacdea5ca4b9689074e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
//===--- uses_printf.cc - test input file for iwyu ------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "tests/cxx/uses_printf-d1.h"
void hello() {
// IWYU: printf is...*<stdio.h>
printf("Hello, world!\n");
}
/**** IWYU_SUMMARY
tests/cxx/uses_printf.cc should add these lines:
#include <stdio.h>
tests/cxx/uses_printf.cc should remove these lines:
- #include "tests/cxx/uses_printf-d1.h" // lines XX-XX
The full include-list for tests/cxx/uses_printf.cc:
#include <stdio.h> // for printf
***** IWYU_SUMMARY */
|