Revision 9d2cca71cf54ddfebda26e247d82ae7b71d9e03c authored by Pranav Gokhale on 30 June 2018, 18:56:21 UTC, committed by Pranav Gokhale on 30 June 2018, 18:56:21 UTC
1 parent 720b0db
Raw File
include-directive1.c
// RUN: %clang_cc1 -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 3

// XX expands to nothing.
#define XX

// expand macros to get to file to include
#define FILE "file_to_include.h"
#include XX FILE

#include FILE

// normal include
#include "file_to_include.h"

back to top