Mercurial > hg > CbC > CbC_llvm
comparison compiler-rt/test/hwasan/TestCases/use-after-scope-nobug.cpp @ 252:1f2b6ac9f198 llvm-original
LLVM16-1
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 09:04:13 +0900 |
parents | c4bab56944e8 |
children |
comparison
equal
deleted
inserted
replaced
237:c80f45b162ad | 252:1f2b6ac9f198 |
---|---|
1 // This is the ASAN test of the same name ported to HWAsan. | 1 // This is the ASAN test of the same name ported to HWAsan. |
2 | 2 |
3 // RUN: %clangxx_hwasan -mllvm -hwasan-use-after-scope -O1 %s -o %t && %run %t | 3 // RUN: %clangxx_hwasan -O1 %s -o %t && %run %t |
4 | 4 |
5 // REQUIRES: aarch64-target-arch | 5 // REQUIRES: aarch64-target-arch || riscv64-target-arch |
6 // REQUIRES: stable-runtime | |
7 | 6 |
8 #include <stdio.h> | 7 #include <stdio.h> |
9 #include <stdlib.h> | 8 #include <stdlib.h> |
10 | 9 |
11 int *p[3]; | 10 int *p[3]; |