summaryrefslogtreecommitdiff
path: root/test/CodeGen/a5.c
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2012-11-30 01:34:36 +0000
committerQuentin Colombet <qcolombet@apple.com>2012-11-30 01:34:36 +0000
commite5965df287efe0dfa694609e483b55c110c7b97c (patch)
tree46891811ce5ad935c297a3d865888af95505a05c /test/CodeGen/a5.c
parentdcd42fbb418cf662c136cb035e235a44b58ad91e (diff)
downloadclang-e5965df287efe0dfa694609e483b55c110c7b97c.tar.gz
Add a test case for the new cortex-a5 switch
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/a5.c')
-rw-r--r--test/CodeGen/a5.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/a5.c b/test/CodeGen/a5.c
new file mode 100644
index 0000000000..b342d3578e
--- /dev/null
+++ b/test/CodeGen/a5.c
@@ -0,0 +1,5 @@
+// RUN: %clang -target armv7-none-linux-gnueabi -mcpu=cortex-a5 -emit-llvm -S %s -o /dev/null
+
+int main() {
+ return 0;
+}