Make DestructorCheck::Safety no-copy, no-move
[folly.git] / folly / test / SafeAssertTest.cpp
index 0cb59b96c5ac906f5e64fcbd4ce73201ad1921e4..8df2b8cac46c609fa9fefd3f94e8314465a87a0d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@
 
 using namespace folly;
 
-void fail() {
+[[noreturn]] void fail() {
   FOLLY_SAFE_CHECK(0 + 0, "hello");
 }