commit | 80302a290ae1560b04f9ab8d12cb0b5d88505a1d | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Mon Dec 01 19:23:47 2008 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Mon Dec 01 19:23:47 2008 +0000 |
tree | cb936aaef3e156853bb295f32012f02ecabf8297 | |
parent | 20b88024e6596cfb94184cc6abdfe615a7cddcc0 [diff] [blame] |
Add test case for __ASSEMBLER__ definition. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60363 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Preprocessor/assembler-with-cpp.S b/test/Preprocessor/assembler-with-cpp.S new file mode 100644 index 0000000..2c2bd8d --- /dev/null +++ b/test/Preprocessor/assembler-with-cpp.S
@@ -0,0 +1,6 @@ +// RUN: clang -E %s && +// RUN: not clang -x c -E %s + +#ifndef __ASSEMBLER__ +#error "__ASSEMBLER__ not defined" +#endif