Fix copyright lines
[folly.git] / folly / experimental / symbolizer / test / Crash.cpp
index 74eedad82ea1ecb995c39f790b9d0709ad03f7ff..d593424d892fd0df76dde753110112673ca5e19d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2014-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * limitations under the License.
  */
 
-#include "folly/experimental/symbolizer/SignalHandler.h"
+#include <folly/experimental/symbolizer/SignalHandler.h>
 
 int main() {
   folly::symbolizer::installFatalSignalHandler();
-  *(int*) nullptr = 1;
-  return 0;
+  __builtin_trap();
 }