aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalOpt/atexit.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/GlobalOpt/atexit.ll')
-rw-r--r--test/Transforms/GlobalOpt/atexit.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/GlobalOpt/atexit.ll b/test/Transforms/GlobalOpt/atexit.ll
new file mode 100644
index 000000000000..dbcd0d7b00bd
--- /dev/null
+++ b/test/Transforms/GlobalOpt/atexit.ll
@@ -0,0 +1,6 @@
+; RUN: opt < %s -globalopt -S | FileCheck %s
+
+; CHECK: ModuleID
+define internal hidden i32 @__cxa_atexit(void (i8*)* nocapture %func, i8* nocapture %arg, i8* nocapture %dso_handle) nounwind readnone optsize noimplicitfloat {
+ unreachable
+}