llvm-project/clang-tools-extra/test/pp-trace/pp-trace-ident.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
347 B
C++
Raw Normal View History

// RUN: pp-trace -callbacks '*,-FileChanged,-MacroDefined' %s -- -undef -target x86_64 -std=c++11 | FileCheck --strict-whitespace %s
#ident "$Id$"
// CHECK: ---
// CHECK-NEXT: - Callback: Ident
// CHECK-NEXT: Loc: "{{.*}}{{[/\\]}}pp-trace-ident.cpp:3:2"
// CHECK-NEXT: Str: "$Id$"
// CHECK-NEXT: - Callback: EndOfMainFile
// CHECK-NEXT: ...