Bug 100975 - [C++23] Allow pointer to array of auto
Summary: [C++23] Allow pointer to array of auto
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 12.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks: c++23-core
  Show dependency treegraph
 
Reported: 2021-06-08 17:44 UTC by Jason Merrill
Modified: 2021-06-09 04:53 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2021-06-08 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Merrill 2021-06-08 17:44:57 UTC
https://wg21.link/cwg2397
Comment 1 Jason Merrill 2021-06-08 18:43:59 UTC
  int a[3];
  auto (*p)[3] = &a;