diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2015-02-16 05:41:53 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2015-02-16 05:41:53 +0000 |
| commit | 1b9fc3a186aed6ec120688e4d957466f72db3ed5 (patch) | |
| tree | d26ec6d16ac285d6a9ee1332fbfafaf39dfe669a /llvm/test/Assembler/invalid-datalayout17.ll | |
| parent | 40574cc569c83faf4285c52e2279a5e26858f779 (diff) | |
| download | bcm5719-llvm-1b9fc3a186aed6ec120688e4d957466f72db3ed5.tar.gz bcm5719-llvm-1b9fc3a186aed6ec120688e4d957466f72db3ed5.zip | |
DataLayout: Report when the datalayout type alignment/width is too large
llvm-svn: 229354
Diffstat (limited to 'llvm/test/Assembler/invalid-datalayout17.ll')
| -rw-r--r-- | llvm/test/Assembler/invalid-datalayout17.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Assembler/invalid-datalayout17.ll b/llvm/test/Assembler/invalid-datalayout17.ll new file mode 100644 index 00000000000..519f5c10ab3 --- /dev/null +++ b/llvm/test/Assembler/invalid-datalayout17.ll @@ -0,0 +1,3 @@ +; RUN: not llvm-as < %s 2>&1 | FileCheck %s +target datalayout = "i16777216:16:16" +; CHECK: Invalid bit width, must be a 24bit integer |

