brintos

brintos / llvm-project-archived public Read only

0
0
Text · 623 B · f2c152a Raw
15 lines · cpp
1// RUN: %clang_cc1 -fsyntax-only -verify %s -include %S/Inputs/include.h2 3#include "Inputs/include.h"4#include "Inputs/include.h"5 6#define FOO(x) x + x7int k = FOO(FOO(123));8bool 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}}15