summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/clang-analyzer-optin.performance.Padding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang-tidy/test/clang-analyzer-optin.performance.Padding.cpp')
-rw-r--r--tools/clang-tidy/test/clang-analyzer-optin.performance.Padding.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/clang-analyzer-optin.performance.Padding.cpp b/tools/clang-tidy/test/clang-analyzer-optin.performance.Padding.cpp
new file mode 100644
index 0000000000..0b851a68d3
--- /dev/null
+++ b/tools/clang-tidy/test/clang-analyzer-optin.performance.Padding.cpp
@@ -0,0 +1,6 @@
+struct OverlyAlignedChar {
+ char c1;
+ int x;
+ char c2;
+ char c __attribute__((aligned(4096)));
+};