diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-02-08 11:19:23 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-02-08 11:19:23 +0000 |
| commit | e6045b46034470ca96e80b63c7c130459bbbdae3 (patch) | |
| tree | cda0b30f7c0305e67f5af5099e16c74afc2ce69d | |
| parent | 87c43537df4bd83b26ebab877721ba24a9ee3685 (diff) | |
| download | bcm5719-llvm-e6045b46034470ca96e80b63c7c130459bbbdae3.tar.gz bcm5719-llvm-e6045b46034470ca96e80b63c7c130459bbbdae3.zip | |
[sanitizer] Add 2 random tests for the scanf implementation.
llvm-svn: 174705
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc b/compiler-rt/lib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc index acf16c2718c..2dc39034ab7 100644 --- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc +++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc @@ -99,6 +99,9 @@ TEST(SanitizerCommonInterceptors, Scanf) { testScanf("%*d%u", 1, I); + testScanf("%c%d", 2, C, I); + testScanf("%A%lf", 2, F, D); + // Unsupported stuff. testScanf("%a[", 0); testScanf("%as", 0); |

