summaryrefslogtreecommitdiffstats
path: root/test/FixIt/no-fixit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/FixIt/no-fixit.cpp')
-rw-r--r--test/FixIt/no-fixit.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/FixIt/no-fixit.cpp b/test/FixIt/no-fixit.cpp
index c95c867..9da2922 100644
--- a/test/FixIt/no-fixit.cpp
+++ b/test/FixIt/no-fixit.cpp
@@ -5,3 +5,9 @@
// CHECK-NOT: fix-it:
template<template<typename> +> void func();
+
+struct {
+ void i() {
+ (void)&i;
+ }
+} x;
OpenPOWER on IntegriCloud