ORCA-C/Tests/Deviance/D3.4.0.1.CC
2017-10-21 18:40:19 -05:00

20 lines
478 B
C++

/* Deviance Test 3.4.0.1: Ensure errors flagged for invalid #include commands */
#define BadMacro(x) <x
#include BadMacro(string.h
#define BadMacro2(x) x
#include BadMacro2(d3401.data")
#include "d3401.data>
#include <d3401.data"
#include d3401.data
#include "d3401.data
#include d3401.data"
#include <d3401.data
#include d3401.data>
#include "nosuchfile"
main ()
{
printf ("Failed Deviance Test 3.4.0.1\n");
}