commit | 5bea06ad9e1e73937870e070197cb48e0c2eea87 | [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 | c1571453de3db2b26c15cc13115fac4ece84aa7c [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