summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/has_attribute.cpp
diff options
context:
space:
mode:
authorJean-Daniel Dupas <devlists@shadowlab.org>2012-03-01 17:45:53 +0000
committerJean-Daniel Dupas <devlists@shadowlab.org>2012-03-01 17:45:53 +0000
commit7598fadd781bd23de30e6e2b5119fd82e37b0ea9 (patch)
tree810e26697e7ca8d91180726591a221de6f99a90a /clang/test/Lexer/has_attribute.cpp
parent2913f500fa5e7e354b8b61e2040e7d40cbbfdec7 (diff)
downloadbcm5719-llvm-7598fadd781bd23de30e6e2b5119fd82e37b0ea9.tar.gz
bcm5719-llvm-7598fadd781bd23de30e6e2b5119fd82e37b0ea9.zip
Merge __has_attribute tests. Patch by Jonathan Sauer!
llvm-svn: 151819
Diffstat (limited to 'clang/test/Lexer/has_attribute.cpp')
-rw-r--r--clang/test/Lexer/has_attribute.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/clang/test/Lexer/has_attribute.cpp b/clang/test/Lexer/has_attribute.cpp
deleted file mode 100644
index 9a58a3013fb..00000000000
--- a/clang/test/Lexer/has_attribute.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-// RUN: %clang_cc1 -E %s -o - | FileCheck %s
-
-// CHECK: always_inline
-#if __has_attribute(always_inline)
-int always_inline();
-#endif
-
-// CHECK: no_dummy_attribute
-#if !__has_attribute(dummy_attribute)
-int no_dummy_attribute();
-#endif
-
OpenPOWER on IntegriCloud