Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4314 from 9rnsr/fix14010
Issue 14010 - Support mangleof property for opaque enum and struct type
- Loading branch information
Showing
2 changed files
with
24 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
// PERMUTE_ARGS: | ||
|
||
class C12543; | ||
|
||
static assert(C12543.sizeof == (void*).sizeof); | ||
static assert(C12543.alignof == (void*).sizeof); | ||
static assert(C12543.mangleof == "C11fwdref125436C12543"); | ||
|
||
/***************************************************/ | ||
// 13564 | ||
|
||
enum E14010; | ||
static assert(E14010.mangleof == "E11fwdref125436E14010"); | ||
|
||
struct S14010; | ||
static assert(S14010.mangleof == "S11fwdref125436S14010"); |