Skip to content
Snippets Groups Projects
Commit f37d0cd7 authored by Dmitri Gribenko's avatar Dmitri Gribenko
Browse files

FileCheck'ize a test

llvm-svn: 174814
parent a7c3877d
No related branches found
No related tags found
No related merge requests found
// RUN: %clang_cc1 -E %s | grep '#pragma foo bar'
// RUN: %clang_cc1 -fsyntax-only -Wunknown-pragmas -verify %s
// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
// GCC doesn't expand macro args for unrecognized pragmas.
#define bar xX
#pragma foo bar // expected-warning {{unknown pragma ignored}}
// CHECK: {{^}}#pragma foo bar{{$}}
#pragma STDC FP_CONTRACT ON
#pragma STDC FP_CONTRACT OFF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment