| 1 |
// RUN: %clang_cc1 -fsyntax-only -verify %s -include %S/Inputs/include.h |
| 2 |
|
| 3 |
#include "Inputs/include.h" |
| 4 |
#include "Inputs/include.h" |
| 5 |
|
| 6 |
#define FOO(x) x + x |
| 7 |
int k = FOO(FOO(123)); |
| 8 |
bool b = EQUALS(k, k); |
| 9 |
|
| 10 |
#pragma clang __debug sloc_usage // expected-remark {{address space usage}} |
| 11 |
// expected-note@* {{(0% of available space)}} |
| 12 |
// (this file) expected-note-re@1 {{file entered 1 time using {{.*}}B ({{.*}}B) of space plus 51B (51B) for macro expansions}} |
| 13 |
// (included file) expected-note-re@Inputs/include.h:1 {{file entered 3 times using {{.*}}B ({{.*}}B) of space{{$}}}} |
| 14 |
// (builtins file) expected-note@* {{file entered}} |