modify declare-use.S to work when full toolchain not present

Test doesn't actually require production of an object file and for
some targets (e.g. hexagon) an assembler is not always available when
lit tests are run.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204144 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matthew Curtis 2014-03-18 12:25:27 +00:00
parent 567ad56d9f
commit 6840105ca5
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
// RUN: rm -rf %t
// RUN: %clang -fmodule-maps -fmodules-cache-path=%t -fmodules-decluse -fmodule-name=XS -I %S/Inputs/declare-use -c %s -Xclang -verify
// RUN: %clang -fmodule-maps -fmodules-cache-path=%t -fmodules-decluse -fmodule-name=XS -I %S/Inputs/declare-use -S %s -Xclang -verify
// expected-no-diagnostics
#include "s.h"