
Previously, double slashes (//) occurring in angle brackets #include were incorrectly interpreted as comments. eg. #include <dir//file.h> Differential Revision: https://reviews.llvm.org/D66550 llvm-svn: 369988
9 lines
315 B
C
9 lines
315 B
C
// Test double slashes in #include directive along with angle brackets. Previously, this was interpreted as comments.
|
|
// RUN: %clang_cc1 -DTEST -print-dependency-directives-minimized-source %s 2>&1 | FileCheck %s
|
|
|
|
#include "a//b.h"
|
|
#include <a//b.h>
|
|
|
|
// CHECK: #include "a//b.h"
|
|
// CHECK: #include <a//b.h>
|