Quote wildcard in test's grep argument

The * could otherwise cause shell pathname expansion.

llvm-svn: 193473
This commit is contained in:
Alp Toker 2013-10-26 14:52:48 +00:00
parent da469ecbbd
commit 1774954274
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
// RUN: %clang_cc1 -emit-llvm %s -O2 -fno-builtin -o - | grep call.*printf
// RUN: %clang_cc1 -emit-llvm %s -O2 -fno-builtin -o - | grep 'call.*printf'
// Check that -fno-builtin is honored.
extern int printf(const char*, ...);